View source: R/peaks_to_function.R
Convert2Mummichog | R Documentation |
Following t-test analysis or effect size calculation, this functions converts the results from the mSetObj to the proper format for mummichog analysis.
Convert2Mummichog(
mSetObj = NA,
rt = FALSE,
rds.file = FALSE,
rt.type = "seconds",
test = "tt",
mode = NA
)
mSetObj |
Input the name of the created mSetObj. |
rt |
Logical, whether or not to include retention time information. |
rds.file |
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. |
rt.type |
Character, input whether retention time is in seconds (default as RT using MetaboAnalystR is seconds) or minutes (as from MZmine). |
test |
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'. |
mode |
ion mode, positive or negative |
Jasmine Chong, Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.