## load a MRIaggr object
data("MRIaggr.Pat1_red", package = "MRIaggr")
## compute table
res <- calcTableLesion(MRIaggr.Pat1_red, maskN = c("MASK_DWI_t0", "MASK_T2_FLAIR_t2"),
numeric2logical = TRUE, update.object = TRUE, overwrite = TRUE)
## extract table
res <- selectTable(MRIaggr.Pat1_red, "lesion")
Run the code above in your browser using DataLab