Description Usage Arguments Details Value Author(s) References See Also Examples
Given a KEGG pathway id and a set of KEGG gene ids, the functions return the URL of a KEGG pathway diagram with the elements corresponding to the genes marked by red or specified color
1 2 3 | mark.pathway.by.objects(pathway.id, object.id.list)
color.pathway.by.objects(pathway.id, object.id.list,
fg.color.list, bg.color.list)
|
pathway.id |
|
object.id.list |
|
fg.color.list |
|
bg.color.list |
|
This function only returns the URL of the KEGG pathway diagram. Use
the function browseURL
to view the diagram.
These functions are not part of the KEGG REST API; they are provided
because they existed in KEGGSOAP
and an alternative implementation
was possible.
This function returns a character string for the url
Jianhua Zhang
https://www.kegg.jp/kegg/docs/keggapi.html
1 2 3 4 5 6 7 8 9 10 11 | url <- mark.pathway.by.objects(
"path:eco00260", c("eco:b0002", "eco:c00263")
)
if(interactive()){
browseURL(url)
}
url <- color.pathway.by.objects(
"path:eco00260", c("eco:b0002", "eco:c00263"),
c("#ff0000", "#00ff00"),
c("#ffff00", "yellow")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.