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