fetch_chebi: Fetch ChEBI database information

View source: R/fetch_chebi.R

fetch_chebiR Documentation

Fetch ChEBI database information

Description

Fetches information from the ChEBI database.

Usage

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.

Value

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

Examples


chebi <- fetch_chebi()

head(chebi)


protti documentation built on Jan. 22, 2023, 1:11 a.m.