We use the R package "multtest". Here, you can perform various statistical tests, e.g. the Welch t-test and perform various multiple testing corrections, e.g. Benjamini-Hochberg adjustment in order to control the FDR.
False Discovery Rate is multiple comparisons procedure, so you should perform test for statistical significance first and then multiple comparisons. For example, you can perform ANOVA (if your data have required characteristics) to find out, if you had significant result and then simply perform pairwise testing i. e. via t-tests for every pair of "treatments" in your dataset. You will obtain several p-values, which you have to "adjust" by selected method (FDR). For p-value adjusting, you can use simple R command (see below).
You may simply use metaboanalyst (google it), which interfaced the appropriate R packages and scripts into a very handsome windows clickable interface.
Begum Aydogan Mathyk the default method for the Ttests.Anal function used for simple pairwise identification of differential metabolites is Benjamini-Hochberg. Other functions may adjust the p value using other methods.