join_results: Join results to a MetaboSet object

Description Usage Arguments Value Examples

Description

Join a new data frame of results to a MetaboSet object. The data frame needs to have a column "Feature_ID". This function is usually called on the results of one of the statistics functions.

Usage

1
join_results(object, dframe)

Arguments

object

a MetaboSet object

dframe

a data frame with the results

Value

a MetaboSet object with the new information added to results(object)

Examples

1
2
3
lm_results <- perform_lm(example_set, formula_char = "Feature ~ Group")
with_results <- join_results(example_set, lm_results)
colnames(results(with_results))

antonvsdata/amp documentation built on Jan. 8, 2020, 3:15 a.m.