remove_singletons function

Remove singletons

Remove singletons

Identifies and removes singletons (i.e. peaks that are unique for one sample) from the aligned dataset.

remove_singletons(data)

Arguments

  • data: An object of class "GCalign". See align_chromatograms for details. Alternatively, a list of data frames. Whereby each data frame contains the peak list for an individual sample.

Returns

a list of data frames for each individual.

Examples

data("peak_data") ## subset for faster processing data <- lapply(peak_data[1:5], function(x) x[20:35,]) x <- align_chromatograms(data, rt_col_name = "time") out <- remove_singletons(data = x)

Author(s)

Meinolf Ottensmann (meinolf.ottensmann@web.de) & Martin Stoffel (martin.adam.stoffel@gmail.com)

  • Maintainer: Meinolf Ottensmann
  • License: GPL (>= 2) | file LICENSE
  • Last published: 2024-07-03