Relative counts normalisation.
logTransf(
sce,
scalFactor = 10000,
assayName = "counts",
targetAssay = "data",
use_log1p = FALSE,
sparse = TRUE
)
Arguments
- sce
SingleCellExperiment object.
- scalFactor
Scale factor to inflate relative counts.
- assayName
Character.
- targetAssay
Character.
- use_log1p
Logical. Use shifted log (log1p) transform, using raw counts instead of relative counts.
- sparse
Store the transformed assay as sparse matrix or not.
Value
A SingleCellExperiment object containing a new assay after relative counts normalisation.