Description Usage Arguments Value Author(s) Examples
Search the current version of the Human Metabolome Database using database generic names
1 | search_hmdb(query)
|
query |
a generic compound name (ie, methyl histidine) |
a data.frame
containing the following for each results;
accession_id
name
molecular_formula
monoisotopic_weight
smiles
inchikey
inchi
Tom Wilson tpw2@aber.ac.uk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
res <- search_hmdb("anserine")
names(res)
[1] "accession_id" "name" "molecular_formula"
[4] "monisotopic_weight" "smiles" "inchikey"
[7] "inchi"
res$name
[1] Anserine Homoanserine Mianserin
res[1, "smiles"]
[1] CN1C=NC=C1C[C@H](NC(=O)CCN)C(O)=O
res[1,"monisotopic_weight"]
[1] 240.1222
#'
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.