plotScanpyPCAVariance: plotScanpyPCAVariance

View source: R/scanpyFunctions.R

plotScanpyPCAVarianceR Documentation

plotScanpyPCAVariance

Description

plotScanpyPCAVariance

Usage

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")
## Not run: 
sce <- runScanpyNormalizeData(sce, useAssay = "counts")
sce <- runScanpyFindHVG(sce, useAssay = "scanpyNormData", method = "seurat")
sce <- runScanpyScaleData(sce, useAssay = "scanpyNormData")
sce <- runScanpyPCA(sce, useAssay = "scanpyScaledData")
plotScanpyPCAVariance(sce)

## End(Not run)

compbiomed/singleCellTK documentation built on Oct. 27, 2024, 3:26 a.m.