nMolecules.RdReturns the number of molecules in the raw count matrix of the chosen assay.
nGenes(object)
nMolecules(object, assay_name = activeAssay(object))
nMetabolites(object)
nProteins(object)An object of class SPATA2 or, in case of S4 generics,
objects of classes for which a method has been defined.
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().
Numeric value.
The functions nGenes(), nProteins(), nMetabolites() are wrappers for
objects that contain the corresponding molecular modality
and do not have an assay_name argument.