View source: R/downloadChEBI.R
downloadChEBI | R Documentation |
This function downloads the compounds, formulas, masses and charges from the selected release of the ChEBI database. The ChEBI database (Chemical Entities of Biological Interest), is a database and ontology of molecular entities focused on 'small' chemical compounds.
downloadChEBI(release = "latest", woAssociations = FALSE)
release |
A character string with the release number of the ChEBI database version to be downloaded, by default the |
woAssociations |
A logical value |
A data.frame with the following data associated to the ChEBI compounds:
'ID'
: The unique identifer
'ChEBI'
: The name recommended for use in biological databases
'KEGG'
: The associated name(s) in the KEGG database
'IUPAC'
: The name(s) generated according to recommendations of IUPAC
'MetaCyc'
: The associated name(s) in the MetaCyc database
'ChEMBL'
: The associated name(s) in the ChEMBL database
'FORMULA'
: The molecular formula
'MASS'
: The molecular mass
'MONOISOTOPIC'
: The molecular monoisotopic mass
'CHARGE'
: The molecular net charge
If woAssociations is 'TRUE'
a A data.frame with the following data is returned:
'NAME'
: The name(s) associated in several biological databases
'FORMULA'
: The molecular formula
'MASS'
: The molecular mass
'MONOISOTOPIC'
: The molecular monoisotopic mass
'CHARGE'
: The molecular net charge
Daniel Camilo Osorio <dcosorioh@tamu.edu>
The ChEBI database webpage: https://www.ebi.ac.uk/chebi/
## Not run: # Download ChEBI database with associations ChEBI <- downloadChEBI(release = '142') # Download ChEBI database without associations ChEBI <- downloadChEBI(release = '142', woAssociations = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.