as.data.frame.GCalign {GCalignR} | R Documentation |
Output aligned data in form of a data frame for each variable
Description
Based on an object of class "GCalign" that was created using align_chromatograms
, a list of data frames for each variable in the dataset is returned. Within data frames rows represent substances and columns are variables (i.e. substances).
Usage
## S3 method for class 'GCalign'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
Arguments
x |
An object of class "GCalign". See |
row.names |
|
optional |
logical. If |
... |
additional arguments to be passed to or from methods. |
Author(s)
Meinolf Ottensmann (meinolf.ottensmann@web.de) & Martin Stoffel (martin.adam.stoffel@gmail.com)
Examples
data("aligned_peak_data")
out <- as.data.frame(x = aligned_peak_data)