This S4 generic converts miscellaneous objects to into a MolecularAssay object.

asMolecularAssay(object, ...)

# S4 method for class 'Assay5'
asMolecularAssay(object, modality = "undefined", active_mtr = "counts")

# S4 method for class 'SCTAssay'
asMolecularAssay(object, modality = "undefined", active_mtr = "counts")

Arguments

object

Any object for which a method has been defined.

Value

An object of class MolecularAssay