Learn R Programming

mpactr

Overview

mpactr is a collection of filters for the purpose of identifying high quality MS1 features by correcting peak selection errors introduced during the pre-processing of tandem mass spectrometry data.

Filters in this package address the following issues:

  • filter_mispicked_ions(): removal of mispicked peaks, or those isotopic patterns that are incorrectly split during preprocessing.
  • filter_group(): removal of features overrepresented in a specific group of samples; for example removal of features present in solvent blanks due to carryover between samples.
  • filter_cv(): removal of non-reproducible features, or those that are inconsistent between technical replicates.
  • filter_insource_ions(): removal of fragment ions created during the first ionization in the tandem MS/MS workflow.

All filters are independent, meaning they can be used to create a project-specific workflow, or you can learn more in the Getting Started page.

Installation

You can install the CRAN version with:

install.packages("mpactr")

You can install the development version of mpactr from GitHub with:

# install.packages("devtools")
devtools::install_github("mums2/mpactr")

Get started

See the Getting Started page to get started.

Getting help

If you encounter an issue, please file an issue on GitHub. Please include a minimal reproducible example with your issue.

Contributing

Is there a feature you’d like to see included, please let us know! Pull requests are welcome on GitHub.

Copy Link

Version

Install

install.packages('mpactr')

Monthly Downloads

225

Version

0.2.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Patrick Schloss

Last Published

March 29th, 2025

Functions in mpactr (0.2.1)

filter_group

Filter Ions by Group
get_meta_data

Return the meta_data data.table from the mpactr object.
filter_mispicked_ions

Mispicked ions filter
get_peak_table

Return the peak table data.table from the mpactr object.
get_raw_data

Return the input peak table from mpactr object.
example_path

Get file paths for examples
qc_summary

Summary of Fitering
mpactr-package

mpactr: Correction of Preprocessed MS Data
plot_qc_tree

Visualize Filtering Summary as Tree Map
get_similar_ions

Get similar ion groups.
import_data

Import data into an mpactr object.
filter_summary

Return the summary for a single mpactr filter.
get_group_averages

Get groups averages.
filter_insource_ions

Filter Insource ions
cultures_data

LC-MS/MS sample data
get_cv_data

Get CV values.
filter_cv

Filter Non-reproducible ions