get_kegg_map | R Documentation |
This function allows users to color individiul objects in KEGG pathway maps and generate the output as an PNG image.
get_kegg_map(keggids, pathwayid, bgcolor, fgcolor)
keggids |
KEGG IDs to be colored. e.g.: c("C05345","C05378") |
pathwayid |
KEGG pathway ID: e.g.: "map01230" |
bgcolor |
Vector of the size of the keggids argument to indicate background color for each object. e.g.: c("red", "green") |
fgcolor |
Vector of the size of the keggids argument to indicate border and text color for each object. e.g.: c("black", "blue") |
PNG image for the KEGG pathway with colored objects
Karan Uppal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.