read_peak_list {GCalignR} | R Documentation |
Read content of a text file and convert it to a list
Description
Reads the content of text file that is formatted as described in align_chromatograms
and converts it to a list.
Usage
read_peak_list(data, sep = "\t", rt_col_name, check = T)
Arguments
data |
A text file containing a peak list. See |
sep |
The field separator character. The default is tab separated ( |
rt_col_name |
A character giving the name of the column containing the retention times. The decimal separator needs to be a point. |
check |
logical |
Value
A list of data frames containing peak data for every sample of data
.
Author(s)
Meinolf Ottensmann (meinolf.ottensmann@web.de) & Martin Stoffel (martin.adam.stoffel@gmail.com)
Examples
path <- system.file("extdata", "simulated_peak_data.txt", package = "GCalignR")
x <- read_peak_list(data = path, rt_col_name = "rt")
[Package GCalignR version 1.0.7 Index]