View source: R/ComponentScores.R
ExtractGeneWeights | R Documentation |
Extracts the loadings from a given component in a seurat object and returns a data.frame suitable for ScoreUsingSavedComponent
ExtractGeneWeights(
seuratObj,
componentNum,
topNGenes = 100,
bottomNGenes = 100,
reduction = "pca"
)
seuratObj |
The seurat object |
componentNum |
The component number to use |
topNGenes |
The number of top genes to use (ranked by loading) |
bottomNGenes |
The number of bottom genes to use (ranked by loading) |
reduction |
The reduction to use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.