parse.highlight_tuples {report.utils} |
R Documentation |
Parse the kegg pathway node highlight information
Description
Usage
parse.highlight_tuples(x,
default = "red");
Arguments
x
should be a character string that contains the pathway nodes id and
optional highligh color for make the kegg pathway map rendering.
value should be in formats of:
"K00001:blue;K00002:red;C00001:green"
where the first part is the kegg id, the second part is the highlight color.
or just a list of the kegg id without highlight color, such as:
"K00001;K00002;C00001"
The default color is "red" if the highlight color is not specified. [as string]
default
the default color for the hightlights. [as string]
Details
Authors
kegg_kit
Value
a tuple list that contains the highlight information, such as:
list(K00001 = "blue", K00002 = "red", C00001 = "green");
clr value class
Examples
[Package
report.utils version 1.0.0.0
Index]