Convert2Mummichog: Convert mSetObj to proper format for MS Peaks to Pathways...

View source: R/peaks_to_function.R

Convert2MummichogR Documentation

Convert mSetObj to proper format for MS Peaks to Pathways module


Following t-test analysis or effect size calculation, this functions converts the results from the mSetObj to the proper format for mummichog analysis.


  mSetObj = NA,
  rt = FALSE,
  rds.file = FALSE,
  rt.type = "seconds",
  test = "tt",
  mode = NA



Input the name of the created mSetObj.


Logical, whether or not to include retention time information.


Logical, if true, the "annotated_peaklist.rds" must be in the current working directory to get corresponding retention time information for the features. If not, the retention time information will be taken from the feature names. Feature names must be formatted so that the mz and retention time for a single peak is separated by two underscores. For instance, m/z of 410.2148 and retention time of 42.46914 seconds must be formatted as 410.2148__42.46914.


Character, input whether retention time is in seconds (default as RT using MetaboAnalystR is seconds) or minutes (as from MZmine).


Character, input what statistical values to include in the mummichog input. For p-values and t-scores only from t-test, use "tt". For log2FC from the fold-change analsis, use "fc". For effect-sizes, use "es". For, p-values, fold-changes and effect sizes, use "all". For multiple groups, use 'aov'.


ion mode, positive or negative


Jasmine Chong, Jeff Xia McGill University, Canada License: GNU GPL (>= 2)

xia-lab/MetaboAnalystR documentation built on June 10, 2024, 12:22 p.m.