Do log1p normalisation by default.

logTransf(
  sce,
  scalFactor = 10000,
  assayName = "counts",
  targetAssay = "log1p",
  use_log1p = TRUE,
  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.