summary_mono {MGMS2}R Documentation

summary_mono

Description

Internal function. This function calculates summary statistics for peaks afterling aligning spectra of interest.

Usage

summary_mono(
  spectra.interest,
  minFrequency = 0.5,
  align.tolerance = 5e-04,
  snr = 3,
  halfWindowSize = 20,
  top.N = 50
)

Arguments

spectra.interest

A list which contains peaks information for a strain of interest.

minFrequency

Percentage value. A minimum occurrence proportion required for building a reference peaks. All peaks with their occurence proportion less than minFrequency will be moved. (Default: 0.50). See filterPeaks and referencePeaks for details.

align.tolerance

Mass tolerance. Must be multiplied by 10^-6 for ppm. (Default: 0.0005).

snr

Signal-to-noise ratio. (Default: 3).

halfWindowSize

The highest peaks in the given window (+/-halfWindowSize) will be recognized as peaks. (Default: 20). See detectPeaks for details.

top.N

The top N peaks will be chosen for the analysis. An integer value. (Default: 50).

Value

Summary information (Data frame) of spectra of interest.


[Package MGMS2 version 1.0.2 Index]