getPEAKmedians: Get median centWave measures for a peak-of-interest across...

Description Usage Arguments Value

View source: R/functions-validPEAKS_helpers.R

Description

Get median centWave measures for a peak-of-interest across all samples in which it was detected.

Usage

1
2
3
4
getPEAKmedians(
  peak_n,
  values = c("mz", "mzmin", "mzmax", "rt", "rtmin", "rtmax")
)

Arguments

peak_n

data.frame with centWave measures for a peak-of-interest in every sample

values

character with centWave measures for which medians should be estimated. Default set to: c("mz", "mzmin", "mzmax", "rt", "rtmin", "rtmax")

Value

Function return a data.frame with median centWave measures for a peak-of-interest across all samples.


lauzikaite/massFlowR documentation built on April 29, 2020, 9:45 a.m.