Package: mums2 0.1.1

Patrick Schloss

mums2: Microbial Ecology by Tandem Mass Spectrometry

Tools that researchers can use to analyze untargeted metabolomics data generated using tandem mass spectroscopy from microbial communities. The overall approach taken to analyze metabolomics data parallels that used to analyze microbial communities using 16S rRNA gene sequencing data. Thus, we have a number of methods a user is able to use to generate data. Firstly, users can import Mass Spectrometry 1(MS1) data and filter it. Users are then able to match Mass Spectrometry 2(MS2) data to the filtered (or unfiltered) MS1 data. With the matched data users are able to cluster it, annotate it, predict de novo chemical formulas and calculate alpha and beta diversity. For chemical formula predictions, this was the method used; "Towards de novo identification of metabolites by analyzing tandem mass spectra" (Sebastian Böcker, Florian Rasche (2008) <doi:10.1093/bioinformatics/btn270>). The similarity/dissimilarity calculations we used to cluster our data together was: "Spectral entropy outperforms MS/MS dot product similarity for small-molecule compound identification" (Li, Y., Kind, T., Folz, J. et al. (2021) <doi:10.1038/s41592-021-01331-z>) and "Sharing and community curation of mass spectrometry data with Global Natural Products Social Molecular Networking" (Wang, M., Carver, J., Phelan, V. et al. (2021) <doi:10.1038/nbt.3597>).

Authors:Allison Mason [aut], Gregory Johnson [aut], Patrick Schloss [aut, cre], Anton Pervukhin [ctb, cph], Florian Rasche [ctb, cph], Henner Sudek [ctb, cph], Marcel Martin [ctb, cph], Yuanyue Li [ctb, cph]

mums2_0.1.1.tar.gz
mums2_0.1.1.zip(r-4.7)mums2_0.1.1.zip(r-4.6)mums2_0.1.1.zip(r-4.5)
mums2_0.1.1.tgz(r-4.6-x86_64)mums2_0.1.1.tgz(r-4.6-arm64)mums2_0.1.1.tgz(r-4.5-x86_64)mums2_0.1.1.tgz(r-4.5-arm64)
mums2_0.1.1.tar.gz(r-4.7-arm64)mums2_0.1.1.tar.gz(r-4.7-x86_64)mums2_0.1.1.tar.gz(r-4.6-arm64)mums2_0.1.1.tar.gz(r-4.6-x86_64)
mums2_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
mums2/json (API)
NEWS

# Install 'mums2' in R:
install.packages('mums2', repos = c('https://mums2.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mums2/mums2/issues

Pkgdown/docs site:https://www.mums2.org

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

5.04 score 1 stars 3 scripts 18 downloads 34 exports 64 dependencies

Last updated from:e9742110ba. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK338
linux-devel-x86_64OK321
source / vignettesOK531
linux-release-arm64OK312
linux-release-x86_64OK326
macos-release-arm64OK244
macos-release-x86_64OK932
macos-oldrel-arm64OK217
macos-oldrel-x86_64OK516
windows-develOK382
windows-releaseOK380
windows-oldrelOK374
wasm-releaseOK249

Exports:alpha_summaryannotate_ms2change_rt_to_seconds_or_minutecluster_datacombined_reference_databasecompute_molecular_formulasconvert_to_group_averagescreate_community_matrixcreate_community_matrix_objectdist_ms2dist_sharedfilter_cv_paramsfilter_group_paramsfilter_insource_ions_paramsfilter_mispicked_ions_paramsfilter_peak_tablegenerate_a_combined_tableget_community_matrixget_metadataget_molecular_formula_predsget_ms1_dataget_ms2_matchesget_ms2_peaks_dataget_peak_tableget_reference_dataget_samplesimport_all_datamodified_cosine_paramsms2_ms1_comparemums2_examplerarefy_msread_hmdbread_mspspec_entropy_params

Dependencies:base64encbriocallrcliclusturcommonmarkcpp11crayoncurldata.tabledescdiffobjevaluatefarverfsggfittextggplot2gluegridExtragridtextgtableisobandjpegjsonlitelabelinglatticelifecyclelitedownmagrittrmarkdownMatrixmpactrotelpkgbuildpkgloadpngpraiseprocessxpsR6RColorBrewerRcppRcppProgressRcppThreadrlangrprojrootS7scalesshadessitmostringistringrsvglitesystemfontstestthattextshapingtreemapifyvctrsviridisviridisLitewaldowithrxfunxml2

mums2

Rendered frommums2.Rmdusingknitr::rmarkdownon Jun 11 2026.

Last update: 2026-06-04
Started: 2025-04-02

Readme and manuals

Help Manual

Help pageTopics
Alpha Diversity Summaryalpha_summary
Annotate LC-MS/MS featuresannotate_ms2
Change RT time to minutes or secondschange_rt_to_seconds_or_minute
Cluster Featurescluster_data
Combine Databasescombined_reference_database
Compute Molecular formula Othercompute_molecular_formulas
Convert Samples to Group Averagesconvert_to_group_averages
create community matrixcreate_community_matrix
Create Community Matrix Object.create_community_matrix_object create_community_matrix_object.mass_data create_community_matrix_object.mothur_cluster
Calculate pairwise distance between MS/MS features.dist_ms2
Distance Shareddist_shared
Filter Cv Parametersfilter_cv_params
Filter Group Parametersfilter_group_params
Filter Insource Ions Parametersfilter_insource_ions_params
Filter Mispicked Ions Parametersfilter_mispicked_ions_params
Filter Peak Tablefilter_peak_table filter_peak_table.filter_cv filter_peak_table.filter_group filter_peak_table.filter_insource_ions filter_peak_table.filter_mispicked_ions
Create a combined tablegenerate_a_combined_table
Get Community Matrixget_community_matrix
Get Molecular Formula Predictionsget_molecular_formula_preds
Get MS1 Matchesget_ms1_data
Get MS2 Matchesget_ms2_matches
Get Peaks Dataget_ms2_peaks_data
Get Reference Dataget_reference_data
Get Samplesget_samples
Import all dataimport_all_data
Reference database lengthlength.reference_database
GNPS-like similarity between two MS/MS spectramodified_cosine_params
Match your ms1 spectra to a ms2ms2_ms1_compare
Get file paths for examplesmums2_example
Print Community Objectprint.community_object
Print referenceprint.reference_database
Rarefy MS1 Feature Tablerarefy_ms
Read HMDB databaseread_hmdb
Create Reference Databaseread_msp
Entropy similarity between two MS/MS spectraspec_entropy_params