Package: mpactr 0.3.3.9000

Patrick Schloss

mpactr: Correction of Preprocessed MS Data

An 'R' implementation of the 'python' program Metabolomics Peak Analysis Computational Tool ('MPACT') (Robert M. Samples, Sara P. Puckett, and Marcy J. Balunas (2023) <doi:10.1021/acs.analchem.2c04632>). Filters in the package serve to address common errors in tandem mass spectrometry preprocessing, including: (1) isotopic patterns that are incorrectly split during preprocessing, (2) features present in solvent blanks due to carryover between samples, (3) features whose abundance is greater than user-defined abundance threshold in a specific group of samples, for example media blanks, (4) ions that are inconsistent between technical replicates, and (5) in-source fragment ions created during ionization before fragmentation in the tandem mass spectrometry workflow.

Authors:Allison Mason [aut], Gregory Johnson [aut], Patrick Schloss [aut, cre, cph]

mpactr_0.3.3.9000.tar.gz
mpactr_0.3.3.9000.zip(r-4.7)mpactr_0.3.3.9000.zip(r-4.6)mpactr_0.3.3.9000.zip(r-4.5)
mpactr_0.3.3.9000.tgz(r-4.6-x86_64)mpactr_0.3.3.9000.tgz(r-4.6-arm64)mpactr_0.3.3.9000.tgz(r-4.5-x86_64)mpactr_0.3.3.9000.tgz(r-4.5-arm64)
mpactr_0.3.3.9000.tar.gz(r-4.7-arm64)mpactr_0.3.3.9000.tar.gz(r-4.7-x86_64)mpactr_0.3.3.9000.tar.gz(r-4.6-arm64)mpactr_0.3.3.9000.tar.gz(r-4.6-x86_64)
mpactr_0.3.3.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
mpactr/json (API)

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

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

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

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

On CRAN:

Conda:

cpp

6.69 score 2 stars 1 packages 45 scripts 577 downloads 16 exports 41 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK236
linux-devel-x86_64OK268
source / vignettesOK291
linux-release-arm64OK276
linux-release-x86_64OK229
macos-release-arm64OK171
macos-release-x86_64OK410
macos-oldrel-arm64OK154
macos-oldrel-x86_64OK355
windows-develOK164
windows-releaseOK168
windows-oldrelOK180
wasm-releaseOK213

Exports:example_pathfilter_cvfilter_groupfilter_insource_ionsfilter_mispicked_ionsfilter_summaryget_cv_dataget_group_averagesget_metadataget_peak_tableget_raw_dataget_similar_ionsimport_datalimit_coresplot_qc_treeqc_summary

Dependencies:base64encclicommonmarkcpp11curldata.tablefarverggfittextggplot2gluegridExtragridtextgtableisobandjpegjsonlitelabelinglifecyclelitedownmagrittrmarkdownpngR6RColorBrewerRcpprlangS7scalesshadesstringistringrsvglitesystemfontstextshapingtreemapifyvctrsviridisviridisLitewithrxfunxml2

Downstream Analyses
Load required libraries | Filter MS1 feature table with mpactr | Interactive scatter plot of all input ions and their fate during filtering | Correlation between samples at different levels | Correlation between each individual sample | Correlation between technical replicates | Correlation between biological replicates | Dendrogram | Fold change analysis | Calculate fold change | Visualize fold change for compounds in a 3D scatter plot | Test for compounds with significant fold changes | Volcano plot

Last update: 2026-05-20
Started: 2024-11-26

Filter with mpact original data
Load data into R | Accessing data in mpactr object | Extract peak table | Extract metadata | Reference semantics | Filtering | Mispicked ions filter | Remove ions that are above a threshold in one biological group | Remove non-reproducible ions | Remove insource fragment ions | Chaining filters together | Summary | View passing and failed ions for a single filter | View passing and failed ions for all input ions | Visualize filtering QC with tree map plot

Last update: 2026-05-20
Started: 2024-11-26

Reference Semantics
Reference semantics | Deep copy: specifics of the R6 class

Last update: 2026-05-15
Started: 2024-11-26