Package: MsQuality 1.13.0

Thomas Naake

MsQuality: MsQuality - Quality metric calculation from Spectra, MsExperiment and Chromatograms objects

The MsQuality provides functionality to calculate quality metrics for mass spectrometry-derived, spectral data at the per-sample level. MsQuality relies on the mzQC framework of quality metrics defined by the Human Proteom Organization-Proteomics Standards Initiative (HUPO-PSI). These metrics quantify the quality of spectral raw files using a controlled vocabulary. The package is especially addressed towards users that acquire mass spectrometry data on a large scale (e.g. data sets from clinical settings consisting of several thousands of samples). The MsQuality package allows to calculate low-level quality metrics that require minimum information on mass spectrometry data: retention time, m/z values, and associated intensities. MsQuality relies on the Spectra package, or alternatively the MsExperiment package, and its infrastructure to store spectral data. Additionally, MsQuality supports Chromatograms objects from the Chromatograms package for chromatographic quality metrics.

Authors:Thomas Naake [aut, cre], Johannes Rainer [aut], Helge Hecht [ctb], Philippine Louail [aut]

MsQuality_1.13.0.tar.gz
MsQuality_1.13.0.zip(r-4.7)MsQuality_1.13.0.zip(r-4.6)MsQuality_1.13.0.zip(r-4.5)
MsQuality_1.13.0.tgz(r-4.6-any)MsQuality_1.13.0.tgz(r-4.5-any)
MsQuality_1.13.0.tar.gz(r-4.7-any)MsQuality_1.13.0.tar.gz(r-4.6-any)
MsQuality_1.13.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
MsQuality/json (API)
NEWS

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

Bug tracker:https://github.com/tnaake/msquality/issues

Datasets:
  • meta - Example data for 'MsQuality': data set of Lee et al.
  • msexp_hilic - Example data for 'MsQuality': data set of Lee et al.
  • msexp_rplc - Example data for 'MsQuality': data set of Lee et al.
  • sps_hilic - Example data for 'MsQuality': data set of Lee et al.
  • sps_rplc - Example data for 'MsQuality': data set of Lee et al.
  • vals - Example data for 'MsQuality': data set of Lee et al.

On BioConductor:MsQuality-1.13.0(bioc 3.24)MsQuality-1.12.0(bioc 3.23)

metabolomicsproteomicsmassspectrometryqualitycontrolmass-spectrometryqc

6.20 score 8 stars 6 scripts 344 downloads 49 exports 147 dependencies

Last updated from:342c9d67b5. Checks:1 NOTE, 9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
bioc-checksNOTE221
linux-devel-x86_64OK593
source / vignettesOK339
linux-release-x86_64OK535
macos-release-arm64OK287
macos-oldrel-arm64OK334
windows-develOK823
windows-releaseOK802
windows-oldrelOK830
wasm-releaseOK176

Exports:areaUnderTicareaUnderTicRtQuantilesbaselineIntensitycalculateMetricscalculateMetricsFromChromatogramscalculateMetricsFromMsExperimentcalculateMetricsFromOneSampleChromatogramscalculateMetricsFromOneSampleSpectracalculateMetricsFromSpectrachromatographyDurationextentIdentifiedPrecursorIntensitygaussianSimilarityintensityMeanintensityQuartilesintensityRangeintensitySdmaxIntensitymeanChargemedianChargemedianPrecursorMzmedianTicOfRtRangemedianTicRtIqrmsSignal10xChangemzAcquisitionRangenumberEmptyScansnumberSpectrapeakCountpeakProminencepeakWidthplotMetricplotMetricTibbleprecursorIntensityMeanprecursorIntensityQuartilesprecursorIntensityRangeprecursorIntensitySdqualityMetricsratioCharge1over2ratioCharge3over2ratioCharge4over2rtAcquisitionRangertIqrrtIqrRatertOverMsQuartersshinyMsQualitysignalToNoiseRatioticQuantileRtFractionticQuartileToQuartileLogRatiotransformIntoMzQCxicFwhm

Dependencies:abindAnnotationDbiAnnotationFilterAnnotationHubaskpassbase64encBHBiobaseBiocBaseUtilsBiocFileCacheBiocGenericsBiocManagerBiocParallelBiocVersionBiostringsbitbit64blobbriobslibcachemcallrChromatogramscliclueclustercodetoolscollectionscommonmarkcpp11crayoncrosstalkcurldata.tableDBIdbplyrDelayedArraydescdiffobjdigestdplyrevaluateExperimentHubfarverfastmapfilelockfontawesomeformatRfsfutile.loggerfutile.optionsgenericsGenomicRangesggplot2gluegtablehighrhtmltoolshtmlwidgetshttpuvhttrhttr2igraphIRangesisobandjquerylibjsonlitejsonvalidateKEGGRESTknitrlabelinglambda.rlaterlatticelazyevallifecyclemagrittrMASSMatrixMatrixGenericsmatrixStatsmemoiseMetaboCoreUtilsmimeMsCoreUtilsMsDataHubMsExperimentMultiAssayExperimentontologyIndexopensslotelpillarpkgbuildpkgconfigpkgloadplotlyplyrpngpraiseprocessxpromisesProtGenericspspurrrQFeaturesR6R6PrappdirsRColorBrewerRcppreshape2rlangrmarkdownrmzqcrprojrootRSQLiteS4ArraysS4VectorsS7sassscalesSeqinfoshinyshinydashboardsnowsourcetoolsSparseArraySpectrastringistringrSummarizedExperimentsystestthattibbletidyrtidyselecttinytexutf8V8vctrsviridisLitewaldowithrxfunxtableXVectoryaml

MsQuality: Calculation of QC metrics from mass spectrometry data

Rendered fromMsQuality.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-03-26
Started: 2021-09-09

Readme and manuals

Help Manual

Help pageTopics
MsQuality - Quality metric calculation from Spectra, MsExperiment and Chromatograms objectsMsQuality-package MsQuality
Order Spectra according to increasing retention time.rtOrderSpectra
area under TIC (MS:4000155)areaUnderTic areaUnderTic,Chromatograms-method areaUnderTic,Spectra-method
area under TIC RT quantiles (MS:4000156)areaUnderTicRtQuantiles areaUnderTicRtQuantiles,Spectra-method
Baseline Intensity per chromatogrambaselineIntensity
Calculate QC metrics from a Spectra, MsExperiment, or Chromatograms objectcalculateMetrics
Calculate QC metrics from a Chromatograms objectcalculateMetricsFromChromatograms
Calculate QC metrics from a MsExperiment objectcalculateMetricsFromMsExperiment
Calculate QC metrics from a Chromatograms object containing only chromatographic data from one samplecalculateMetricsFromOneSampleChromatograms
Calculate QC metrics from a Spectra object containing only spectral data from one samplecalculateMetricsFromOneSampleSpectra
Calculate QC metrics from a Spectra objectcalculateMetricsFromSpectra
chromatography duration (MS:4000053)chromatographyDuration
extent of identified MS2 precursor intensity (MS:4000157)extentIdentifiedPrecursorIntensity
Gaussian Similarity (Peak Shape Quality) per ChromatogramgaussianSimilarity
Intensity statistics (Mean) per chromatogramintensityMean
Intensity Quartiles per chromatogramintensityQuartiles
Intensity Range per chromatogramintensityRange
Intensity statistics (Standard Deviation) per chromatogramintensitySd
Example data for 'MsQuality': data set of Lee et al. (2019)Lee_2019 msexp_hilic msexp_rplc sps_hilic sps_rplc
Example data for 'MsQuality': data set of Lee et al. (2019)Lee_2019_meta_vals meta vals
Maximum intensity per chromatogrammaxIntensity
mean MS2 precursor charge in all spectra (MS:4000173) or mean MS2 precursor charge in identified spectra (MS:4000174)meanCharge
median MS2 precursor charge in all spectra (MS:4000175) or median MS2 precursor charge in identified spectra (MS:4000176)medianCharge
MS2 precursor median m/z of identified quantification data points (MS:4000152)medianPrecursorMz
median of TIC values in the shortest RT range in which half of the quantification data points are identified (MS:4000159)medianTicOfRtRange
median of TIC values in the RT range in which the middle half of quantification data points are identified (MS:4000158)medianTicRtIqr
MS1 signal jump (10x) count (MS:4000097) or MS1 signal fall (10x) count (MS:4000098)msSignal10xChange
m/z acquisition range (MS:4000069)mzAcquisitionRange
number of empty MS1 scans (MS:4000099), number of empty MS2 scans (MS:4000100), or number of empty MS3 scans (MS:4000101)numberEmptyScans
number of MS1 spectra (MS:4000059) or number of MS2 spectra (MS:4000060)numberSpectra
Peak Count (Number of data points) per chromatogrampeakCount
Peak Prominence (Peak-to-Baseline Ratio) per ChromatogrampeakProminence
Peak Width per ChromatogrampeakWidth
Visualize a quality metricplotMetric
Helper function for plotMetricplotMetricTibble
MS2 precursor intensity distribution mean (MS:4000117), identified MS2 precursor intensity distribution mean (MS:4000163), or unidentified MS2 precursor intensity distribution mean (MS:4000164)precursorIntensityMean
MS2 precursor intensity distribution (MS:4000116), identified MS2 precursor intensity distribution (MS:4000161), or unidentified MS2 precursor intensity distribution (MS:4000162)precursorIntensityQuartiles
MS2 precursor intensity range (MS:4000160)precursorIntensityRange
MS2 precursor intensity distribution sigma (MS:4000118), identified MS2 precursor intensity distribution sigma (MS:4000165), or unidentified MS2 precursor intensity distribution sigma (MS:4000166)precursorIntensitySd
Get a vector of quality metrics than can be applied to 'object'qualityMetrics
ratio of 1+ over 2+ of all MS2 known precursor charges (MS:4000167) or ratio of 1+ over 2+ of identified MS2 known precursor charges (MS:4000168)ratioCharge1over2
ratio of 3+ over 2+ of all MS2 known precursor charges (MS:4000169) or ratio of 3+ over 2+ of identified MS2 known precursor charges (MS:4000170)ratioCharge3over2
ratio of 4+ over 2+ of all MS2 known precursor charges (MS:4000171) or ratio of 4+ over 2+ of identified MS2 known precursor charges (MS:4000172)ratioCharge4over2
retention time acquisition range (MS:4000070)rtAcquisitionRange
interquartile RT period for identified quantification data points (MS:4000153)rtIqr rtIqr,Chromatograms-method rtIqr,Spectra-method
rate of the interquartile RT period for identified quantification data points (MS:4000154)rtIqrRate
MS1 quarter RT fraction (MS:4000055) or MS2 quarter RT fraction (MS:4000056)rtOverMsQuarters
Shiny application to visualize quality metricsshinyMsQuality
Signal-to-Noise Ratio per chromatogramsignalToNoiseRatio
TIC quantile RT fraction (MS:4000183)ticQuantileRtFraction ticQuantileRtFraction,Chromatograms-method ticQuantileRtFraction,Spectra-method
MS1 TIC-change quartile ratios (MS:4000057) or MS1 TIC quartile ratios (MS:4000058)ticQuartileToQuartileLogRatio
Transform the metrics into a list of 'MzQCmzQC' objectstransformIntoMzQC
Full Width at Half Maximum (FWHM) per ChromatogramxicFwhm