Visualize Human KEGG Pathways
visualize_hsa_KEGG(
hsa_kegg_ids,
input_processed,
max_to_plot = NULL,
normalize_vals = TRUE,
node_cols = NULL,
quiet = TRUE,
key_gravity = "northeast",
logo_gravity = "southeast"
)
hsa KEGG ids of pathways to be colored and visualized
input data processed via input_processing
The number of hsa kegg pathways (from beginning
until the max_to_plot
th id) to visualize. If NULL, visualizes all
(default = NULL)
should change values be normalized (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)
gravity value (character) for the color key legend placement
(see gravity_types
)
gravity value (character) for the logo placement
(see gravity_types
)
Creates colored visualizations of the enriched human KEGG pathways and saves them in the folder "term_visualizations" under the current working directory.
See visualize_terms
for the wrapper function for
creating enriched term diagrams. See run_pathfindR
for the
wrapper function of the pathfindR enrichment workflow.
# NOT RUN {
visualize_hsa_KEGG(hsa_kegg_ids, input_processed)
# }
Run the code above in your browser using DataLab