normalizeCounts.Rd
Normalizes the count matrix of a molecular assay.
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Character value. The normalization method. One of c('LogNormalize',
'CLR', 'RC', 'SCT'). 'SCT' normalization is used for MERFISH and Xenium datasets,
as suggested in the Seurat
documentation.
Character value. The name under which the new processed matrix
is stored in the SPATA2
object.
Logical. If TRUE
, the created matrix is activated via activateMatrix()
.
Only relevant if the SPATA2
object contains more than
one assay: Denotes the assay of interest and thus the
molecular modality to use. Defaults to the active assay
as set by activateAssay()
.
Logical value. Must be TRUE
to allow overwriting.
Logical. If TRUE
, informative messages regarding
the computational progress will be printed.
(Warning messages will always be printed.)
Additional arguments given to Seurat::NormalizeData()
.
The updated input object, containing the added, removed or computed results.
The function creates a temporary Seurat
object and calls Seurat::NormalizeData()
with the corresponding method. Afterwards, the normalized matrix is extracted and
stored in the SPATA2
object with the name specified in mtr_name_new
. This name, in
turn, default to the character value of method
.