View source: R/scanpyFunctions.R
runScanpyNormalizeData | R Documentation |
runScanpyNormalizeData Wrapper for NormalizeData() function from scanpy library Normalizes the sce object according to the input parameters
runScanpyNormalizeData(
inSCE,
useAssay,
targetSum = 10000,
maxFraction = 0.05,
normAssayName = "scanpyNormData"
)
inSCE |
(sce) object to normalize |
useAssay |
Assay containing raw counts to use for normalization. |
targetSum |
If NULL, after normalization, each observation (cell) has a
total count equal to the median of total counts for observations (cells)
before normalization. Default |
maxFraction |
Include cells that have more counts than max_fraction of
the original total counts in at least one cell. Default |
normAssayName |
Name of new assay containing normalized data. Default
|
Normalized SingleCellExperiment
object
data(scExample, package = "singleCellTK")
sce <- subsetSCECols(sce, colData = "type != 'EmptyDroplet'")
rownames(sce) <- rowData(sce)$feature_name
## Not run:
sce <- runScanpyNormalizeData(sce, useAssay = "counts")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.