plotScanpyPCAGeneRanking

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")
if (FALSE) {
sce <- runScanpyNormalizeData(sce, useAssay = "counts")
sce <- runScanpyFindHVG(sce, useAssay = "scanpyNormData", method = "seurat")
sce <- runScanpyScaleData(sce, useAssay = "scanpyNormData")
sce <- runScanpyPCA(sce, useAssay = "scanpyScaledData")
plotScanpyPCAGeneRanking(sce)
}