plotVG | R Documentation |
Plots a pathway with or without the comparison information, using the visNetwork library.
plotVG( name, pathways, DAdata = NULL, colors = "hiro", conf = 0.05, adjust = TRUE, main = "Pathway", submain = "", no.col = "BlanchedAlmond", height = "800px" )
name |
KEGG ID of the pathway to plot. |
pathways |
Pathways object. |
DAdata |
List of comparison results, returned by function |
colors |
String with the color scheme or vector of colors to be used.
See |
conf |
Numeric, cut off for significance. Default is 0.05. |
adjust |
Boolean, whether to adjust the p.value with Benjamini-Hochberg FDR method. Default is TRUE. |
main |
Title of the plot. |
submain |
Subtitle of the plot. |
no.col |
String with the color given to non-significant nodes. |
height |
Height of the plot. Default is "800px". |
Plot of the pathway.
pathways <- load_pathways("hsa") plotVG("hsa04010", pathways)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.