plotScanpyPCAGeneRanking: plotScanpyPCAGeneRanking

View source: R/scanpyFunctions.R

plotScanpyPCAGeneRankingR Documentation

plotScanpyPCAGeneRanking

Description

plotScanpyPCAGeneRanking

Usage

plotScanpyPCAGeneRanking(inSCE, PC_comp = "1,2,3", includeLowest = TRUE)

Arguments

inSCE

Input SingleCellExperiment object.

PC_comp

For example, '1,2,3' means [1, 2, 3], first, second, third principal component.

includeLowest

Whether to show the variables with both highest and lowest loadings. Default TRUE

Value

plot object

Examples

data(scExample, package = "singleCellTK")
## Not run: 
sce <- runScanpyNormalizeData(sce, useAssay = "counts")
sce <- runScanpyFindHVG(sce, useAssay = "scanpyNormData", method = "seurat")
sce <- runScanpyScaleData(sce, useAssay = "scanpyNormData")
sce <- runScanpyPCA(sce, useAssay = "scanpyScaledData")
plotScanpyPCAGeneRanking(sce)

## End(Not run)

compbiomed/singleCellTK documentation built on Feb. 10, 2024, 3:32 a.m.