Skip to contents

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.

Value

A annotation_source object. This object has no output slots.

Inheritance

A annotation_source object inherits the following struct classes:

[annotation_source] -> [struct_class]

Examples

M <- annotation_source(
        tag = character(0),
        data = data.frame(),
        source = "ANY")