Color hsa KEGG pathway
color_kegg_pathway(
pw_id,
change_vec,
scale_vals = TRUE,
node_cols = NULL,
quiet = TRUE
)
hsa KEGG pathway id (e.g. hsa05012)
vector of change values, names should be hsa KEGG gene ids
should change values be scaled? (default = TRUE
)
low, middle and high color values for coloring the pathway nodes
(default = NULL
). If node_cols=NULL
, the low, middle and high color
are set as 'green', 'gray' and 'red'. If all change values are 1e6 (in case no
changes are supplied, this dummy value is assigned by
input_processing
), only one color ('#F38F18' if NULL) is used.
If TRUE
, suppress status messages (if any), and the
progress bar while downloading file(s)
list containing:
file_path: path to colored hsa KEGG pathway diagram
all_key_cols: colors used for each change value bin
all_brks: breaks used for separating change values into bins