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 remains unchanged, but now there are gene loading scores for all genes.
1 2 | ProjectPCA(object, do.print = TRUE, pcs.print = 1: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@dr$pca@gene.loadings), 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@dr$pca@gene.loadings.full
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.