A function for compositional principal component analysis of ROIs across age

PCA(data, infodir, Type = 1, Level = 1)

Arguments

data

use readFileList function to get MRI data frame

infodir

path to lookup table of patient info

Type

optinal,type of MRI sequences(T1-weighted, T2-weighted, etc.), default = 1

Level

optional,level of MRI, default = 1

Author

Luchao Qi