Do log1p normalisation by default.
logTransf(
sce,
scalFactor = 10000,
assayName = "counts",
targetAssay = "log1p",
use_log1p = TRUE,
sparse = TRUE
)A SingleCellExperiment object containing a new assay after relative counts normalisation.
sce <- scuttle::mockSCE(ncells = 20, ngenes = 10)
sce <- logTransf(sce, targetAssay = "log1p")
assay(sce, "log1p")[1:3, 1:3]