MRIaggr-calcDistTissues: Compute descriptive statistics

Description Usage Arguments Details Value See Also Examples

Description

Compute the four first order statistics of the contrast parameters by cerebral structure.

Usage

1
2
## S4 method for signature 'MRIaggr'
calcDistTissues(object, param, param.membership, num = NULL, hemisphere = "both")

Arguments

object

an object of class MRIaggr. REQUIRED.

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 NULL.

hemisphere

the hemisphere to use. character.

Details

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.

Value

An data.frame containing in row the various cerebral structures and in columns the various moments for each contrast parameter.

See Also

calcTissueType to compute a probabilistic classification of the brain observations in WM/GM/CSF.

Examples

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")
)

bozenne/MRIaggr documentation built on May 13, 2019, 1:39 a.m.