An annotation_table
is an annotation_source()
where the imported data.frame contains measured experimental data. An
id_column
of values is required to uniquely indentify each record (row) in the table (NB these are NOT molecule identifiers, which may be be present in multiple records).
Usage
lcms_table(
data = data.frame(id = numeric(0), mz = numeric(0), rt = numeric(0)),
tag = "",
id_column = "id",
mz_column = "mz",
rt_column = "rt",
...
)
Arguments
- data
(data.frame) A data.frame of annotation data. The default is
data.frame(id = character(0))
.- tag
(character) A (short) character string that is used to represent this source e.g. in column names or source columns when used in a workflow. The default is
""
.- id_column
(character) The column name of the annotation data.frame containing row identifers. If NULL This will be generated automatically. The default is
"id"
.- ...
Additional slots and values passed to
struct_class
.
Inheritance
A annotation_table
object inherits the following struct
classes: annotation_table()
⭢ annotation_source()
⭢ struct_class()