plotScanpyPCAVariance

plotScanpyPCAVariance(inSCE, nPCs = 50, log = FALSE)

Arguments

inSCE

Input SingleCellExperiment object.

nPCs

Number of PCs to show. Default 50.

log

Plot on logarithmic scale. Default FALSE

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")
plotScanpyPCAVariance(sce)
}