Description Usage Arguments Author(s)
Plot the pathway-result network diagram
1 2 3 4 5 6 | PlotTESEAPathwayGraph(graph, margin = 0, vertex.label.cex = 0.6,
vertex.label.font = 1, vertex.size = 8, vertex.size2 = 6,
vertex.shape = "rectangle", layout = igraph::layout.fruchterman.reingold,
vertex.label.color = "black", edge.color = "dimgray",
vertex.color = "#C1FFC1", vertex.frame.color = "dimgray", axes = FALSE,
xlab = "", ylab = "", sub = NULL, main = NULL, ...)
|
graph |
A dataframe of pathway result obtained from the |
margin |
A numeric. The value is usually between -0.5 and 0.5, which is able to zoom in or out a pathway graph. The default is 0. |
vertex.label.cex |
A numeric vector of node label size. |
vertex.label.font |
A numeric vector of label font. |
vertex.size |
A numeric vector of Node size. See plot.igraph |
vertex.size2 |
A numeric vector of Node size. |
vertex.shape |
A vector of node shape. The default is graphics_type. |
layout |
A matrix of x-y coordinates with two dims. Determine the placement of the nodes for drawing a graph.The default is layout.random. |
vertex.label.color |
A vector of node label colors. The default is black. |
edge.color |
A vector of edge color. The default is dimgray. |
vertex.color |
A vector of node colors. The default is the KEGG node color. |
vertex.frame.color |
A vector of node frame color. The default is dimgray. |
axes |
A logical. whether to plot axes. The default is FALSE. |
xlab |
A character string. The label of the horizontal axis. The default is the empty string. |
ylab |
A character string. The label of the vertical axis. The default is the empty string. |
sub |
A character string of subtitle. |
main |
A character string of main title. |
... |
The arguments passed to or from methods. See plot.igraph and see plot. |
Junwei Han, Xinrui Shi and Chunquan Li wrote the original in the ESEA package, small changes by Nello Blaser.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.