Package: msPurity 1.33.0

Thomas N. Lawson

msPurity: Automated Evaluation of Precursor Ion Purity for Mass Spectrometry Based Fragmentation in Metabolomics

msPurity R package was developed to: 1) Assess the spectral quality of fragmentation spectra by evaluating the "precursor ion purity". 2) Process fragmentation spectra. 3) Perform spectral matching. What is precursor ion purity? -What we call "Precursor ion purity" is a measure of the contribution of a selected precursor peak in an isolation window used for fragmentation. The simple calculation involves dividing the intensity of the selected precursor peak by the total intensity of the isolation window. When assessing MS/MS spectra this calculation is done before and after the MS/MS scan of interest and the purity is interpolated at the recorded time of the MS/MS acquisition. Additionally, isotopic peaks can be removed, low abundance peaks are removed that are thought to have limited contribution to the resulting MS/MS spectra and the isolation efficiency of the mass spectrometer can be used to normalise the intensities used for the calculation.

Authors:Thomas N. Lawson [aut, cre], Ralf Weber [ctb], Martin Jones [ctb], Julien Saint-Vanne [ctb], Andris Jankevics [ctb], Mark Viant [ths], Warwick Dunn [ths]

msPurity_1.33.0.tar.gz
msPurity_1.33.0.zip(r-4.5)msPurity_1.33.0.zip(r-4.4)msPurity_1.33.0.zip(r-4.3)
msPurity_1.33.0.tgz(r-4.4-any)msPurity_1.33.0.tgz(r-4.3-any)
msPurity_1.33.0.tar.gz(r-4.5-noble)msPurity_1.33.0.tar.gz(r-4.4-noble)
msPurity_1.33.0.tgz(r-4.4-emscripten)msPurity_1.33.0.tgz(r-4.3-emscripten)
msPurity.pdf |msPurity.html
msPurity/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/computational-metabolomics/mspurity/issues

On BioConductor:msPurity-1.33.0(bioc 3.21)msPurity-1.32.0(bioc 3.20)

massspectrometrymetabolomicssoftwarebioconductor-packagedimsfragmentationlc-mslc-msmsmass-spectrometryprecursor-ion-purity

7.03 score 15 stars 44 scripts 234 downloads 2 mentions 35 exports 61 dependencies

Last updated 2 months agofrom:6c0644f26f. Checks:OK: 1 ERROR: 5 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 18 2024
R-4.5-winERRORDec 18 2024
R-4.5-linuxERRORDec 18 2024
R-4.4-winERRORDec 18 2024
R-4.4-macERRORDec 18 2024
R-4.3-winERRORDec 18 2024
R-4.3-macNOTEDec 18 2024

Exports:assessPuritySingleaverageAllFragSpectraaverageInterFragSpectraaverageIntraFragSpectraaverageSpectraaverageSpectraSinglecombineAnnotationscreate_databasecreateDatabasecreateMSPdimsPredictPuritydimsPredictPuritySinglefilterFragSpectrafilterpflag_removefrag4featureget_additional_mzml_metaGetfilesgetPgroupPeaksgroupPeaksExiwNormGaussiwNormQE.5iwNormRcosinepcalcpurityApurityDpurityXshowspectral_matchingspectralMatchingsubtractsubtractMZvalidatewriteOut

Dependencies:BiobaseBiocGenericsbitbit64blobcachemclicodetoolscolorspacecpp11DBIdbplyrdoSNOWdplyrfansifarverfastclusterfastmapforeachgenericsggplot2gluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmunsellmzRncdf4nlmepillarpkgconfigplogrplyrProtGenericspurrrR6RColorBrewerRcppreshape2Rhdf5librlangRSQLitescalessnowstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Using msPurity for Precursor Ion Purity Assessments, Data Processing and Metabolite Annotation of Mass Spectrometry Fragmentation Data

Rendered frommsPurity-vignette.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2021-10-05
Started: 2016-05-20

msPurity spectral database schema

Rendered frommsPurity-spectral-database-vignette.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2019-09-13
Started: 2019-04-24

LC-MS/MS data processing and spectral matching workflow using msPurity and XCMS

Rendered frommsPurity-lcmsms-data-processing-and-spectral-matching-vignette.Rmdusingknitr::rmarkdownon Dec 18 2024.

Last update: 2023-08-30
Started: 2019-04-24

Readme and manuals

Help Manual

Help pageTopics
Assess the purity of a single LC-MS/MS or DI-MS/MS fileassessPuritySingle
Using a purityA object, average and filter MS/MS spectra for each XCMS feature within and across MS data files (ignoring intra and inter relationships)averageAllFragSpectra averageAllFragSpectra,purityA-method
Using a purityA object, average and filter fragmentation spectra for each XCMS feature across multiple MS data filesaverageInterFragSpectra averageInterFragSpectra,purityA-method
Using a purityA object, average and filter fragmentation spectra for each XCMS feature within a MS data fileaverageIntraFragSpectra averageIntraFragSpectra,purityA-method
Using purityD object, calculates to average mz, intensity and signal-to-noise of multiple scans from multiple MS datafiles (mzML or .csv)averageSpectra averageSpectra,purityD-method
Calculates to average mz, intensity and signal-to-noise of multiple scans from 1 MS datafile (mzML or .csv)averageSpectraSingle
Combine AnnotationscombineAnnotations
Create database deprecatedcreate_database
Create databasecreateDatabase
Using a purityA object, create an MSP file of fragmentation spectracreateMSP createMSP,purityA-method
Using purityD object, assess anticipated purity from a DI-MS rundimsPredictPurity dimsPredictPurity,purityD-method
Predict the precursor purity from a DI-MS datasetdimsPredictPuritySingle
Filter fragmentation spectra associated with an XCMS featurefilterFragSpectra filterFragSpectra,purityA-method
Filter out peaks based on intensity and RSD criteriafilterp filterp,purityD-method
Flag and remove unwanted peaksflag_remove
Using a purityA object, link MS/MS data to XCMS featuresfrag4feature frag4feature,purityA-method
Get additional mzML metaget_additional_mzml_meta
Get files for DI-MS processingGetfiles
Get peaklist for a purityD objectgetP getP,purityD-method
Using purityD object, group multiple peaklists by similar mz values (mzML or .csv)groupPeaks groupPeaks,purityD-method
Group peaklists from a list of dataframesgroupPeaksEx
Constructor for S4 class to represent a DI-MS purityDinitialize,purityD-method
Gaussian normalisation for isolation window efficiencyiwNormGauss
Q-Exactive +/- 0.5 range, normalisation for isolation window efficiencyiwNormQE.5
Raised cosine normalisation for isolation window efficiencyiwNormRcosine
'msPurity' packagemsPurity-package msPurity
Perform purity calculation on a peak matrixpcalc
Assess the acquired precursor ion purity of MS/MS spectra (constructor)purityA
An S4 class to represent a DI-MS purityDpurityD purityD-class
Assessing anticipated purity of XCMS features from an LC-MS runpurityX
Show method for purityA classshow,purityA-method
Show method for purityDshow,purityD-method
Show method for purityXshow,purityX-method
Spectral matching deprecatedspectral_matching
Spectral matching for LC-MS/MS datasetsspectralMatching
Using Subtract MZ values based on ppm tolerance and noise ratiosubtract subtract,purityD-method
Subtract MZ values based on ppm tolerance and noise ratiosubtractMZ
Validate precursor purity predictions using LC-MS and LC-MS/MS datasetvalidate validate,purityA-method
Using purityD object, save peaks as text fileswriteOut writeOut,purityD-method