qlink | R Documentation |
This function can be used to draw a special network, which nodes should be matched width margin plot.
qlink(
graph,
mapping = NULL,
...,
geom = "path",
widths = NULL,
heights = NULL,
guides = "collect",
nsteps = 100,
hratio = 0.33
)
extract_nodes()
graph |
a igraph, tbl_graph, or other can be converted to igraph object. |
mapping |
default list of aesthetic mappings to use for plot. |
... |
margin plot, should be named with "r", "l", "t" or "b". |
geom |
no used. |
widths |
width of margin plot. |
heights |
height of margin plot. |
guides |
a string specifying how guides should be treated in the layout. |
nsteps |
integer, the value determines the smoothness of the curve. |
hratio |
range 0 to 1, height ratio of half-circle link. |
a ggplot object.
Hou Yun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.