Run prcomp for PCA dimensionality reduction
PCA(object, pc.genes = NULL, do.print = TRUE, pcs.print = 5,
pcs.store = 40, genes.print = 30, use.imputed = FALSE,
rev.pca = FALSE, ...)
Seurat object
Genes to use as input for PCA. Default is object@var.genes
Print the top genes associated with high/low loadings for the PCs
Number of PCs to print genes for
Number of PCs to store
Number of genes to print for each PC
Run PCA on imputed values (FALSE by default)
By default computes the PCA on the cell x gene matrix. Setting to true will compute it on gene x cell matrix.
Additional arguments to be passed to prcomp
Returns Seurat object with an PCA embedding (object@pca.rot) and gene projection matrix (object@pca.x). The PCA object itself is stored in object@pca.obj[[1]]