Description Usage Arguments Value
Takes a pre-computed PCA (typically calculated on a subset of genes) and projects this onto the entire dataset (all genes). Note that the cell loadings (PCA rotation matrices) remains unchanged, but now there are gene scores for all genes.
1 2 | ProjectPCA(object, do.print = TRUE, pcs.print = 5, pcs.store = 30,
genes.print = 30, replace.pc = FALSE, do.center = FALSE)
|
object |
Seurat object |
do.print |
Print top genes associated with the projected PCs |
pcs.print |
Number of PCs to print genes for |
pcs.store |
Number of PCs to store (default is 30) |
genes.print |
Number of genes with highest/lowest loadings to print for each PC |
replace.pc |
Replace the existing PCA (overwite object@pca.x), not done by default. |
do.center |
Center the dataset prior to projection (should be set to TRUE) |
Returns Seurat object with the projected PCA values in object@pca.x.full
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.