containsAssay.Rd
Checks if the provided object contains a specific assay.
containsAssay(object, assay_name, error = FALSE)
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
and the input is invalid the
function throws an error.
Logical value.