Rank metabolites for S2IsoMEr enrichment object
rankScore.Rd
rankScore() ranks metabolites of S2IsoMEr object to perform bootstrapping metabolite set enrichment analysis
Arguments
- object
A S2IsoMEr object.
- ranking.by
A character string specifying the ranking method. Options include:
"wilcox.test"
(default) - Ranks metabolites based on the results of a Wilcoxon test."t.test"
- Ranks metabolites based on the results of a t-test."logFC"
- Ranks metabolites based on log fold change."BWS"
- Ranks metabolites based on BWS (Baumgartner-Weiss-Schindler ).
- alternative
A character string specifying the alternative hypothesis for statistical tests. Options are:
"two.sided"
- Test for differences in both directions."less"
- Test if the second condition is less than the first"greater"
- Test if the second condition is greater than the first
Default is
"greater"
.
Examples
if (FALSE) { # \dontrun{
data("example_ORA_obj")
example_ORA_obj <-
rankScore(object = example_ORA_obj, ranking.by = 't.test')
} # }