Description Usage Arguments Value
Based on a pre-computed dimensional reduction (typically calculated on a subset of genes and projects this onto the entire dataset (all genes). Then generate a new rPCA reduction.
1 2 3 4 5 6 7 8 9 10 | tl_RunPCAScore(
object,
slot = "data",
assay = NULL,
reduction = "pca",
use_all_genes = T,
topn = 30,
do.score.scale = T,
reduction.name = "rpca"
)
|
object |
Seurat3 object |
slot |
use which data to calc rpca |
assay |
use which assay. NULL to use DefaultAssay(object) |
reduction |
use which reduction to obtain top features. |
use_all_genes |
get top n genes from all genes loadings, not just typically highly variable genes. This will call ProjectDim if inexist. |
topn |
robust top n genes of loadings |
do.score.scale |
scale robust scores |
reduction.name |
new reduction name |
updated Seurat3 object with a new pca_score reduction added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.