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

View source: R/scanpyFunctions.R

runScanpyScaleDataR Documentation

runScanpyScaleData Scales the input sce object according to the input parameters

Description

runScanpyScaleData Scales the input sce object according to the input parameters

Usage

runScanpyScaleData(
  inSCE,
  useAssay = "scanpyNormData",
  scaledAssayName = "scanpyScaledData"
)

Arguments

inSCE

(sce) object to scale

useAssay

Assay containing normalized counts to scale.

scaledAssayName

Name of new assay containing scaled data. Default scanpyScaledData.

Value

Scaled SingleCellExperiment object

Examples

data(scExample, package = "singleCellTK")
## Not run: 
sce <- runScanpyNormalizeData(sce, useAssay = "counts")
sce <- runScanpyScaleData(sce, useAssay = "scanpyNormData")

## End(Not run)

compbiomed/singleCellTK documentation built on Feb. 10, 2024, 3:32 a.m.