View source: R/utility_functions.R
getReductionGenes | R Documentation |
Get top loaded features for PCA or ICA dimensional reduction.
getReductionGenes(feature.loading, sig.threshold = 0.99, top.is.positive = T)
feature.loading |
Feature loading matrix |
sig.threshold |
Numeric specifying top nth percentile of features to return. Default: 0.99. |
top.is.positive |
Logical specifying whether to enforce top loaded feature being positive. If negative, loading sign is inverted. |
list of ggplot handles
Nicholas Mikolajewicz
feature.loading <- as.matrix(seurat.object@reductions[[reduction]]@feature.loadings)
red.res <- getReductionGenes(feature.loading = feature.loading, sig.threshold = 0.99)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.