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
annotation_table(
data = data.frame(id = character(0)),
tag = "",
id_column = "id",
...
)
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()
See also
Other annotation tables:
MetFrag_source
,
cd_source
,
ls_source
Other annotation sources:
annotation_database
,
cd_source
,
ls_source
,
mspurity_source