View source: R/remove_singletons.R
remove_singletons | R Documentation |
Identifies and removes singletons (i.e. peaks that are unique for one sample) from the aligned dataset.
remove_singletons(data)
data |
An object of class "GCalign". See |
a list of data frames for each individual.
Meinolf Ottensmann (meinolf.ottensmann@web.de) & Martin Stoffel (martin.adam.stoffel@gmail.com)
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.