Preprocessing for supplementary columns in PCA.
pcaSupplementaryColsPreProcessing(SUP.DATA = NULL, center = TRUE, scale = TRUE, M = NULL)
SUP.DATA
: A supplemental matrix that has the same number of rows as an active data set.center
: The center from the active data. NULL will center SUP.DATA
to itself.scale
: The scale factor from the active data. NULL will scale (z-score) SUP.DATA
to itself.M
: Masses from the active data. Used in epGPCA
.a matrix that has been preprocessed to project supplementary columns for PCA methods.
Derek Beaton
Useful links