renameMolecularAssay.Rd
Renames a molecular assay. Note that the name of an assay also defines it's molecular modality. Only rename if you know what you are doing.
renameMolecularAssay(
object,
assay_name,
new_assay_name,
set_signatures = FALSE
)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
The name of the assay to be renamed.
The new name of the assay.
Logical value. If TRUE
, the slot @signatures of the assay is
populated with a new list. The function checks if the value for new_assay_name
is
a known molecular modality of SPATA2. If this
is the case, the corresponding list of signatures is set into the slot. Else, an
empty list is used.
The updated input object, containing the added, removed or computed results.