These functions are used to compute the mean, standard deviation, sum, or variance of every region in an anat structure.
anatMean(anat) anatSum(anat) anatVar(anat) anatSd(anat)
anat | anat structure. |
---|
out: The output will be a single vector containing as many elements as there are regions in the input variable.
anatMean
: mean
anatSum
: sum
anatVar
: variance
anatSd
: standard deviation
# NOT RUN { getRMINCTestData() gf = read.csv("/tmp/rminctestdata/CIVET_TEST.csv") gf = civet.getAllFilenames(gf,"ID","TEST","/tmp/rminctestdata/CIVET","TRUE","1.1.12") gf = civet.readAllCivetFiles("/tmp/rminctestdata/AAL.csv",gf) vm <- anatMean(gf$lobeThickness) # }