Description Usage Arguments Value Examples
Join a new data frame of information to feature data of a MetaboSet object. The data frame needs to have a column "Feature_ID". This function is usually used internally by some of the functions in the package, but can be useful.
1 | join_fData(object, dframe)
|
object |
a MetaboSet object |
dframe |
a data frame with the new information |
a MetaboSet object with the new information added to fData(object)
1 2 3 | new_info <- data.frame(Feature_ID = featureNames(example_set), Feature_number = seq_len(nrow(example_set)))
with_new_info <- join_fData(example_set, new_info)
colnames(fData(with_new_info))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.