runFastPCA {CytoTree} | R Documentation |
Calculate principal components in CYT
runFastPCA(object, center = FALSE, scale. = TRUE, verbose = FALSE, ...)
object |
an CYT object |
center |
logical, a logical value indicating whether the variables
should be shifted to be zero centered. Alternately, a vector
of length equal the number of columns of x can be supplied.
The value is passed to scale. See |
scale. |
logical, a logical value indicating whether the
variables should be scaled to have unit variance before the
analysis takes place. The default is FALSE for consistency
with S, but in general scaling is advisable. Alternatively,
a vector of length equal the number of columns of x can be supplied.
The value is passed to scale. See |
verbose |
logical. Whether to print calculation progress. |
... |
Parameters passing to |
An CYT object with PCA
cyt.file <- system.file("extdata/cyt.rds", package = "CytoTree") cyt <- readRDS(file = cyt.file) cyt <- runFastPCA(cyt, verbose = TRUE)