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(), tag = "", id_column = NULL, ...)Arguments
- data
(data.frame, NULL) A data.frame of annotation data. The default is
data.frame().- 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
NULL.- ...
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:
cd_source(),
ls_source(),
mspurity_source()
Other annotation sources:
annotation_database(),
cd_source(),
ls_source(),
mspurity_source(),
mwb_study_source()
Examples
M <- annotation_table(
id_column = "id",
tag = character(0),
data = data.frame(),
source = "ANY")