Description Usage Arguments Details Value See Also Examples
Compute the four first order statistics of the contrast parameters by cerebral structure.
1 2 | ## S4 method for signature 'MRIaggr'
calcDistTissues(object, param, param.membership, num = NULL, hemisphere = "both")
|
object |
an object of class |
param |
the contrast parameters to consider. character vector. REQUIRED. |
param.membership |
the parameters indicating the probabilistic membership of each observations to each cerebral structure. character vector. |
num |
the slices to use. numeric vector or |
hemisphere |
the hemisphere to use. character. |
ARGUMENTS :
Information about the num
argument can be found in the details section of initNum
.
Information about the hemisphere
argument can be found in the details section of selectContrast
.
An data.frame containing in row the various cerebral structures and in columns the various moments for each contrast parameter.
calcTissueType
to compute a probabilistic classification of the brain observations in WM/GM/CSF.
1 2 3 4 5 6 7 | ## 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")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.