removeMetaFeatures: Remove meta features

removeMetaFeaturesR Documentation

Remove meta features

Description

Remove meta features from the SPATA2 object.

Usage

removeMetaFeatures(object, feature_names)

Arguments

object

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

feature_names

Character vector. Names of the meta features to remove.

Value

The updated input object, containing the added, removed or computed results.

See Also

removeMolecules(), getMetaFeatureNames()

Examples

library(SPATA2)

data("example_data")

object <- example_data$object_UKF269T_diet

# deafults to only return the meta features
getFeatureNames(object)

object <- removeMetaFeatures(object, feature_names = "bayes_space")

getFeatureNames(object)


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