containsModality.Rd
Tests if the input object contains a molecular assay of a certain modality.
containsModality(object, modality, error = FALSE, ...)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Character value. The molecular modality of interst.
Logical. If TRUE
and the input is invalid the
function throws an error.
Used to absorb deprecated arguments or functions.
Logical value.