plotScanpyPCA
plotScanpyPCA(
inSCE,
reducedDimName = "scanpyPCA",
color = NULL,
title = "",
legend = "right margin"
)
Input SingleCellExperiment
object.
Name of new reducedDims object containing Scanpy PCA.
Keys for annotations of observations/cells or variables/genes.
Provide title for panels either as string or list of strings
Location of legend, either 'on data', 'right margin' or a valid keyword for the loc parameter of Legend.
plot object
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")
plotScanpyPCA(sce)
}