Removes molecular signatures from the SPATA2 object.

removeSignatures(object, signatures, assay_name = activeAssay(object))

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

signatures

Character vector. The names of the signatures to be removed from the assay of choice.

assay_name

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().

Value

The updated input object, containing the added, removed or computed results.

Note

GSEA results remain unaffected.