getMetaVarDf.Rd
Retrieves the metadata variable data frame for a specified assay in the given object. If the metadata variable data frame is empty, it creates a new one based on the molecule names.
Do not confuse with getMetaDf()
which contains meta variables for
the observations.
getMetaVarDf(object, assay_name = activeAssay(object), verbose = TRUE)
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()
.
Logical. If TRUE
, informative messages regarding
the computational progress will be printed.
(Warning messages will always be printed.)
A data frame containing metadata variables for the specified assay.