fetch_chebi function

Fetch ChEBI database information

Fetch ChEBI database information

Fetches information from the ChEBI database.

fetch_chebi(relation = FALSE, stars = c(3), timeout = 60)

Arguments

  • relation: a logical value that indicates if ChEBI Ontology data will be returned instead the main compound data. This data can be used to check the relations of ChEBI ID's to each other. Default is FALSE.
  • stars: a numeric vector indicating the "star" level (confidence) for which entries should be retrieved (Possible levels are 1, 2 and 3). Default is c(3) retrieving only "3-star" entries, which are manually annotated by the ChEBI curator team.
  • timeout: a numeric value specifying the time in seconds until the download of an organism archive times out. The default is 60 seconds.

Returns

A data frame that contains information about each molecule in the ChEBI database.

Examples

chebi <- fetch_chebi() head(chebi)
  • Maintainer: Jan-Philipp Quast
  • License: MIT + file LICENSE
  • Last published: 2024-10-21