getData {OmaDB}R Documentation

Get the Data Function

Description

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

Usage

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

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

[Package OmaDB version 1.2.2 Index]