Skip to contents

A data.frame stored as an RData file.

Usage

rdata_database(source = character(0), variable_name, ...)

Arguments

source

(ANY) The source of annotation data. The default is character(0).

variable_name

(character, function) The name of the data.frame in the imported workspace to use as the data.frame for this source. A function can be provided to e.g. extract a data.frame from a list in the imported environment.

...

Additional slots and values passed to struct_class.

Value

A rdata_database object. This object has no output slots.

Inheritance

A rdata_database object inherits the following struct classes:

[rdata_database] -> [annotation_database] -> [annotation_source] -> [struct_class]

Examples

M = rdata_database( tag = character(0), data = data.frame(id=NA),
source = "ANY")
#> Error in rdata_database(tag = character(0), data = data.frame(id = NA),     source = "ANY"): argument "variable_name" is missing, with no default