Utility method to calculate FC, used in higher function
Arguments
- mSetObj
Enter the name of the created mSet object. (see
met.read_data
)- paired
(Logical) Are the data in both groups paired (
TRUE
) or not (FALSE
).- grp1
(Character) Enter name of the first group for the contrast
grp1 vs. grp2
. If both group arguments are empty, the first two names in the list of groups are selected.- grp2
(Character) Enter name of the second group for the contrast
grp1 vs. grp2
. If both group arguments are empty, the first two names in the list of groups are selected.
Value
The input mSet object with results of fold-change analysis added at mSetObj$analSet$fc$grp1
_vs_grp2
.
References
adapted from GetFC
(https://github.com/xia-lab/MetaboAnalystR).
Author
Nicolas T. Wirth mail.nicowirth@gmail.com Technical University of Denmark License: GNU GPL (>= 2)