setUpMetaVar: Set up meta var slot

setUpMetaVarR Documentation

Set up meta var slot

Description

Sets up slot @meta_var of a molecular assay if not already done.

Usage

setUpMetaVar(object, ...)

## S4 method for signature 'SPATA2'
setUpMetaVar(object, assay_name = activeAssay(object), ...)

## S4 method for signature 'MolecularAssay'
setUpMetaVar(object, 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.

...

Used to absorb deprecated arguments or functions.

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.


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