R/seuratFunctions.R
runSeuratScaleData.Rd
runSeuratScaleData Scales the input sce object according to the input parameters
runSeuratScaleData(
inSCE,
useAssay = "seuratNormData",
scaledAssayName = "seuratScaledData",
model = "linear",
scale = TRUE,
center = TRUE,
scaleMax = 10,
verbose = TRUE
)
(sce) object to scale
Assay containing normalized counts to scale.
Name of new assay containing scaled data. Default
seuratScaledData
.
selected model to use for scaling data. Default "linear"
.
boolean if data should be scaled or not. Default TRUE
.
boolean if data should be centered or not. Default TRUE
maximum numeric value to return for scaled data. Default
10
.
Logical value indicating if informative messages should
be displayed. Default is TRUE
.
Scaled SingleCellExperiment
object
data(scExample, package = "singleCellTK")
if (FALSE) {
sce <- runSeuratNormalizeData(sce, useAssay = "counts")
sce <- runSeuratFindHVG(sce, useAssay = "counts")
sce <- runSeuratScaleData(sce, useAssay = "counts")
}