removeMetaFeatures.Rd
Remove meta features from the
SPATA2
object.
removeMetaFeatures(object, feature_names)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Character vector. Names of the meta features to remove.
The updated input object, containing the added, removed or computed results.
removeMolecules()
, getMetaFeatureNames()
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)