containsModality: Check availability of molecular modality

View source: R/contains.R

containsModalityR Documentation

Check availability of molecular modality

Description

Tests if the input object contains a molecular assay of a certain modality.

Usage

containsModality(object, modality, error = FALSE, ...)

Arguments

object

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

modality

Character value. The molecular modality of interst.

error

Logical. If TRUE and the input is invalid the function throws an error.

...

Used to absorb deprecated arguments or functions.

Value

Logical value.


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.