read_peak_list: Read content of a text file and convert it to a list

View source: R/read_peak_list.R

read_peak_listR 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 align_chromatograms for details.

sep

The field separator character. The default is tab separated (sep = '\t'). See the "sep" argument in read.table for details.

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")


GCalignR documentation built on June 22, 2024, 7:15 p.m.