Fetches all information from the ChEBI database.

fetch_chebi(relation = FALSE)

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.

Value

A data frame that contains all information about each molecule in the ChEBI database. Only "3-star" observations are included in the result. These are entries manually annotated by the ChEBI curator team.

Examples

# \donttest{ chebi <- fetch_chebi() head(chebi)
#> id chebi_accession parent_id definition star #> 1 1 CHEBI:1 18357 The R-enantiomer of noradrenaline. 3 #> 2 1 CHEBI:1 18357 The R-enantiomer of noradrenaline. 3 #> 3 1 CHEBI:1 18357 The R-enantiomer of noradrenaline. 3 #> 4 1 CHEBI:1 18357 The R-enantiomer of noradrenaline. 3 #> 5 1 CHEBI:1 18357 The R-enantiomer of noradrenaline. 3 #> 6 1 CHEBI:1 18357 The R-enantiomer of noradrenaline. 3 #> type_name name type_accession accession_number formula #> 1 SYNONYM Arterenol CAS Registry Number 51-41-2 C8H11NO3 #> 2 SYNONYM Arterenol KEGG COMPOUND accession C00547 C8H11NO3 #> 3 SYNONYM Arterenol PDBeChem accession LNR C8H11NO3 #> 4 SYNONYM Arterenol KEGG DRUG accession D00076 C8H11NO3 #> 5 SYNONYM Arterenol Beilstein Registry Number 2804840 C8H11NO3 #> 6 SYNONYM Arterenol Beilstein Registry Number 4231961 C8H11NO3 #> mass charge monoisotopic_mass #> 1 169.17780 0 169.07389 #> 2 169.17780 0 169.07389 #> 3 169.17780 0 169.07389 #> 4 169.17780 0 169.07389 #> 5 169.17780 0 169.07389 #> 6 169.17780 0 169.07389
# }