View source: R/preprocessing_filtering_reduction.R
normalize_scExp | R Documentation |
Normalize counts
normalize_scExp(
scExp,
type = c("CPM", "TFIDF", "RPKM", "TPM", "feature_size_only")
)
scExp |
A SingleCellExperiment object. |
type |
Which normalization to apply. Either 'CPM', 'TFIDF','RPKM', 'TPM' or 'feature_size_only'. Note that for all normalization by size (RPKM, TPM, feature_size_only), the features must have defined genomic coordinates. |
A SingleCellExperiment object containing normalized counts. (See ?normcounts())
raw <- create_scDataset_raw()
scExp = create_scExp(raw$mat, raw$annot)
scExp = normalize_scExp(scExp)
head(SingleCellExperiment::normcounts(scExp))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.