summary_mono: summary_mono

Description Usage Arguments Value

View source: R/SpecFunctions.R

Description

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

Usage

1
2
3
4
5
6
7
8
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.


MGMS2 documentation built on April 24, 2020, 9:06 a.m.