## load a MRIaggr object
data("MRIaggr.Pat1_red", package = "MRIaggr")
## compute the distribution of DWI and T2 FLAIR for the CSF, WM, GM and lesion observations
res <- calcDistTissues(MRIaggr.Pat1_red, param = c("DWI_t0","T2_FLAIR_t2"),
param.membership = c("CSF","WM","GM","MASK_DWI_t0")
)
Run the code above in your browser using DataLab