getData: Get the Data Function

Description Usage Arguments Value Examples

View source: R/getData.R

Description

The function to obtain the information available for a single entry in the datase.

Usage

1
getData(type, id = NULL, attribute = NULL)

Arguments

type

the type for the entry to be returned - either protein, genome or group

id

an identifier for the entry to be returned. For more information, see the "Get started with OmaDB" vignette.

attribute

an extra attribute

Value

an object containing the JSON keys as attributes

Examples

1
2
getData(type = "protein", id="YEAST00001")
getData(type = "group", id="YEAST00001")

DessimozLab/OmaDB documentation built on Dec. 6, 2018, 2:27 a.m.