getData-deprecated: Get the Data Function

getData-deprecatedR Documentation

Get the Data Function

Description

The function to obtain the information available for a single entry in the datase. This function should no longer be used. It has been divided into several functions: Use the following functions instead.

  • getProtein to obtain proteins (former type='protein')

  • getGenome to obtain genomes (former type='genome')

  • getOMAGroup to obtain genomes (former type='group')

Usage

getData(type, id, 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

See Also

OmaDB-deprecated


klarakaleb/roma documentation built on April 21, 2024, 8:39 a.m.