Remove meta features from the SPATA2 object.

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)