seuratScaleData: seuratScaleData Scales the input sce object according to the...

Description Usage Arguments Value Examples

View source: R/seuratFunctions.R

Description

seuratScaleData Scales the input sce object according to the input parameters

Usage

1
2
3
4
5
6
7
8
9
seuratScaleData(
  inSCE,
  useAssay,
  scaledAssayName = "seuratScaledData",
  model = "linear",
  scale = TRUE,
  center = TRUE,
  scaleMax = 10
)

Arguments

inSCE

(sce) object to scale

useAssay

Assay containing normalized counts to scale.

scaledAssayName

Name of new assay containing scaled data. Default seuratScaledData.

model

selected model to use for scaling data. Default "linear".

scale

boolean if data should be scaled or not. Default TRUE.

center

boolean if data should be centered or not. Default TRUE

scaleMax

maximum numeric value to return for scaled data. Default 10.

Value

Scaled SingleCellExperiment object

Examples

1
2
3
4
5
6
7
data(scExample, package = "singleCellTK")
## Not run: 
sce <- seuratNormalizeData(sce, useAssay = "counts")
sce <- seuratFindHVG(sce, useAssay = "counts")
sce <- seuratScaleData(sce, useAssay = "counts")

## End(Not run)

singleCellTK documentation built on Nov. 8, 2020, 5:21 p.m.