normalize_spectra: Average Spectra Takes a tibble of grouped NORMALIZED spectrum...

View source: R/normalize_spectra.R

normalize_spectraR Documentation

Average Spectra Takes a tibble of grouped NORMALIZED spectrum data (multiple spectra per group) returns ion-wise averaged spectra with averaged continuous statistics and nested categorical identifiers. Some reserved column names get special treatment; this should become more generic in the future.

Description

Average Spectra Takes a tibble of grouped NORMALIZED spectrum data (multiple spectra per group) returns ion-wise averaged spectra with averaged continuous statistics and nested categorical identifiers. Some reserved column names get special treatment; this should become more generic in the future.

Usage

normalize_spectra(spectra)

Arguments

spectra

Tibble featuring mz/wl and intensity. Should be grouped by spectrum.

Examples

spectra_norm <- spectra %>%
  group_by(scan) %>%
  normalize_spectra()


octopode/tidychrom documentation built on Nov. 2, 2022, 1:32 a.m.