Description Usage Arguments Details Value Author(s) References See Also Examples
The functions provide access to KEGG LIGAND database http://www.genome.jp/kegg/ligand.html. Given a compound name, a chemical formula, a molecular weight, or a common sub-structure, one of the functions below can return a list of compounds identifiers from KEGG LIGAND database.
1 2 3 4 | search.compounds.by.name(name)
search.compounds.by.composition(composition)
search.compounds.by.mol_weight(lower.limit, upper.limit)
search.compounds.by.exact_mass(exact.mass)
|
name |
|
composition |
|
mass |
|
range |
|
mol |
|
offset |
|
limit |
|
search.compounds.by.name
returns a list of compounds having the
specified name;
search.compounds.by.composition
returns a list
of compounds containing elements indicated by the composition. Order
of the elements is insensitive;
search.compounds.by.mass
returns
a list of compounds having the molecular weight around "mass" with
some ambiguity (range);
search.compounds.by.subcomp
returns
a list of compounds with the alignment having common sub-structure
calculated by the subcomp program. You can obtain a MOL formatted
structural data of matched compounds using bget
with the
"-f m" option to confirm the alignment.
All the functions return a character vector of chemical compound identifiers provided by KEGG LIGAND database
Nianhua Li
http://www.genome.jp/kegg/docs/keggapi_manual.html#label:105
1 2 3 4 5 | compounds_1 <- search.compounds.by.name("shikimic acid")
compounds_2 <- search.compounds.by.composition("C7H10O5")
compounds_3 <- search.compounds.by.mass(174.05, 0.1)
mol <- bget("-f m cpd:C00111")
compounds_4 <- search.compounds.by.subcomp(mol, 1, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.