MetFlow requires the import of the following files, including:
One or multiple MS1 peak tables (.csv format),
A table for sample information (.csv format).
The MS1 peak table is a list of metabolic peaks with annotated m/z, retention times (RTs) and peak abundances.
LC-MS or GC-MS untargeted metabolomics data can be generated using processing sortware, such as XCMS or MS-DIAL. The peak table from software must be modified for MetFlow.
IMPORTANT: the order and names of the first three columns must be “name”, “mz”, and “rt”.
Note: If you use fillPeaks function in XCMS to process data, there will be no missing values (MV) in the MS1 peak table.
The final generated MS1 peak table should look like:
For targeted metabolomics data, such as MRM, because there is no accurate m/z, so users must assign pseudo m/z values for each peak.
The sample information file (.csv format) is designed to describe the sample injection order, class, batch and group information. The first column is named as “sample.name”, while the second column is named as “injection.order”, the third column is “class”, the fouth column is “batch” and the fifth column is “group”. “class” is used to descibe the class of samples: subject sample (“Subject”) or QC sample (“QC”). The “group” is used to describe the group information of samples, and QC samples should be names as “QC”. The sample information file should look like:
NOTE: The “sample.name” column in sample information file must be the EXACTLY same as the sample names in the MS1 peak table.
If you are using MetFlow for the first time, please sign up first.
Data cleaning is implemented as a step-wised and standardized workflow under “Data Cleaning” tab. Users should process data step by step.
Then MetFlow check the data format of MS1 peak tablss and sample information. If there are error in you data, please click Previous to check your data and upload again. If there is no error, you can click Next for the next step.
Submit for batch alignment.| Paramter | Meaning |
|---|---|
| m/z tolerance (ppm) | m/z tolerance (ppm) for rough alignment. |
| Retention time tolerance (second) | Retention time tolerance (ppm) for rough alignment. |
Then the data quality is visually checked using 7 different creteria:
Submit.| Paramter | Meaning |
|---|---|
| Remove peaks with MV ratio > (%) | It means that if the MV ratio larger than the threshold you set, the peaks will be removed from the dataset. For example, the default of this parameter is 50, it means that for each peak, if its MV ratio > 50%, this peak will be removed. |
| Imputation method |
MetFlow has 9 methods for missing value imputation: 1) Zero value, 2) Mean, 3) Median, 4) Minumun, 5) KNN, 6) missForest and 7) BPCA. The default is KNN.
|
Next.Submit.Next.| Paramter | Meaning |
|---|---|
| Remove peaks with zero ratio > (%) | It means that if the zero ratio larger than the threshold you set, the peaks will be removed from the dataset. For example, the default of this parameter is 50, it means that for each peak, if its zero ratio > 50%, this peak will be removed. |
NOTE: If there are no missing values in your data, you can select any imputation method.
Submit.| Paramter | Meaning |
|---|---|
| QC sample-based methods | You can check the methods based QC sample or not. |
| Normalization method | There are 3 common used non-QC sample-based methods: ‘Mean’, ‘Median’ and ‘Total’. And there are two common used QC sample-based methods: ‘QC SVR (MetNormalizer)’ and ‘QC LOESS’. |
Next.Submit.| Paramter | Meaning |
|---|---|
| QC sample-based methods | You can check the methods based QC sample or not. |
| Integration method | There are 2 common used non-QC sample-based methods: ‘Subject mean’ and ‘Subject median’. And there are two common used QC sample-based methods: ‘QC mean’ and ‘QC median’. |
Like data normalization, you can also see the single peak intensity plot, QC auto-intensity boxplot, RSD comparison plot and RSD of peaks. Then click “next” for next step.
| Paramter | Meaning |
|---|---|
| Logarithm method | default is ‘Log 10’. |
| Scale method | default is ‘Auto scale’. |
| Samples will be considered as outliers outside % CI | It means that if one sample is outside % confidence interval, the sample will be considered as outlier samples. The default is 95%. |
| Samples will be considered as outliers with zero value ratio > % | It means that it one sample with zero value ratio bigger than %, the sample will be considered as outliers. The default is 50%. |
Delete;Submit again.MetFlow also visually assesses the data quality after data cleaning.
Differential metabolite discovery analysis is implemented as a step-wised and standardized workflow under “Differential Metabolite Discovery” tab. Users should process data step by step.
This step is same as “Data Cleanning”.
This step is same as “Data Cleanning”.
Submit.| Paramter | Meaning |
|---|---|
| Control group | Select the control group. |
| Case group | Select the case group. |
| Logarithm method | Select logarith method, default is ‘No log’. |
| Use what to calculate fold change | Use mean or median value of samples in one group to calcualte fold-change, default is ‘Mean’. |
| Hypothesis testing method | ‘Student’s t test’ or ‘Wilcoxon test’. |
| Alternative | ‘Two sided’, ‘Less’ or ‘Greater’. |
| Paired t-test | Paired or not. |
| Correction method | Select Correction method, default is ‘False discovery ratio (FDR)’. |
| P-value cutoff | Default is 0.05. |
| Fold change cutoff | Default is 2, it means fold change (case/control) > 2 or < 0.5. |
Volcano plot: The volcanplot is utilized to visualized the differential metabolites.;
Fold change and P-value: Fold-changes and P-values for all peaks.
| Paramter | Meaning |
|---|---|
| Logarithm method | Select logarith method, default is ‘Log 10’. |
| Scale method | Select scale method, default is ‘Auto scale’. |
| Center or not | Default is checked. |
The PCA score plot.
| Paramter | Meaning |
|---|---|
| Distance measure used in clustering rows | Distance measure used in clustering rows. Default is ‘Euclidean’. |
| Distance measure used in clustering columns | Distance measure used in clustering columns. Default is ‘Euclidean’. |
| Clustering method | Clustering method used. Default is ‘Ward.D’. |
| Cluster rows | Cluster rows or not. |
| Cluster columns | Cluster column or not. |
| Show row names | Show row names or not. |
| Show column names | Show column names or not. |
| Control group color | Color for control group. |
| Case group color | Color for case group. |
| Low color | Color used in heatmap for low intensity. |
| Middle color | Color used in heatmap for middle intensity. |
| High color | Color used in heatmap for high intensity. |
Fold-changes, P-values and VIP values for all peaks.
Submit;| Paramter | Meaning |
|---|---|
| P-value cutoff | The cutoff of P-values. |
| Fold-change cutoff | The cutoff of fold-changes. |
| VIP cutoff | The cutoff of VIP. |
“PCA analysis”, “PLS analysis” and “HCA analysis” are performed using the differential metabolites in your discovery dataset and validation dataset.
Pathway enrichment analysis is implemented as a step-wised and standardized workflow under “Pathway Enrichment Discovery” tab. Users should process data step by step.
Metabolite type to select which type of metabolites you want to provide, KEGG ID is KEGG ID of metabolites, Peak (m/z) is the m/z values of peaks;If you paste m/z values of differential peaks, you must set the parameters for metabolite identification.
Positive or Negative;For KEGG ID, MetFlow match them in KEGG database, and shows the match result. For Peak (m/z), the identification rsult is shown.
Please set the parameters for pathway enrichment first, and then click Submit.
Hypergeometric test or Fisher's Exact Test;The pathway enrichment result (plot and table) are shown on the right panels.
The HTML summary and analysis results are generated and downloaded as data cleaning and differential metabolite analysis.