A base class defining an annotation source. This object is extended by MetmashR to define other objects.
Usage
annotation_source(source = character(0), data = data.frame(), tag = "", ...)Arguments
- source
(ANY) The source of annotation data. The default is
character(0).- 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
"".- ...
Additional slots and values passed to
struct_class.
Inheritance
A annotation_source object inherits the following struct classes:
[annotation_source] -> [struct_class]
See also
Other annotation databases:
AnnotationDb_database,
GO_database,
annotation_database,
excel_database,
rdata_database,
rds_cache,
rds_database
Examples
M <- annotation_source(
tag = character(0),
data = data.frame(),
source = "ANY")