new.experiment: New R-API MaveDB Experiment

Description Usage Details Value Examples

View source: R/rapimave.R

Description

Internal constructor that creates an immutable new Experiment object. This function is not exported and should not be called outside of the rapimave package itself. Experiment objects are generated by the getAllExperiments() and getExperiment() methods of a rapimave object (which itself is generated using the new.rapimave() constructor). However, this section explains the functions that are available for these objects.

Usage

1

Details

A Experiment object offers the following getter functions:

Value

a new R-API MaveDB experiment object.

Examples

1
2
3
4
5
6
## Not run: 
mave <- new.rapimave()
exp1 <- mave$getExperiment("urn:mavedb:00000001-a")
authorIds <- exp1$getAuthors()

## End(Not run)

jweile/rapimave documentation built on Aug. 4, 2021, 12:12 a.m.