Convert feature names to IDs in the mmo object
FeatureToID.Rd
This function converts feature names to their corresponding IDs in the mmo object.
Examples
if (FALSE) {
feature_ids <- FeatureToID(mmo, feature_names = c("100.0_5.0", "150.0_10.0"))
feature_ids <- FeatureToID(mmo, feature_names = mmo$feature_data$feature[1:10])
feature_ids <- FeatureToID(mmo,
feature_names = Glucosinolates
) # if Glucosinolates is a vector of feature names
}