View source: R/layout_concentric.R
| layout_concentric | R Documentation |
The "concentric" layout places the nodes on one or more circles, with each group of nodes on a circle of its own, and the groups ordered around those circles so that adjacent nodes are drawn close together. Where one group holds a single node, that node occupies the centre.
layout_concentric(
.data,
membership,
radius = NULL,
order.by = NULL,
circular = FALSE,
times = 1000
)
layout_tbl_graph_concentric(
.data,
membership,
radius = NULL,
order.by = NULL,
circular = FALSE,
times = 1000
)
.data |
Some |
membership |
A node attribute or a vector to draw concentric circles. By default this is the two modes of a two-mode network. |
radius |
A vector of radii at which the concentric circles should be located. By default this is equal placement around an empty centre, unless one (the core) is a single node, in which case this node occupies the centre of the graph. |
order.by |
An attribute label indicating the (decreasing) order for the nodes around the circles. By default ordering is given by a bipartite placement that reduces the number of edge crossings. |
circular |
Should the layout be transformed into a radial
representation. Only possible for some layouts. Defaults to FALSE.
Required for |
times |
Maximum number of iterations, where appropriate.
Required for |
Returns a table of nodes' x and y coordinates.
Diego Diez, Andrew P. Hutchins and Diego Miranda-Saavedra. 2014. "Systematic identification of transcriptional regulatory modules from protein-protein interaction networks". Nucleic Acids Research, 42 (1) e6.
Other mapping:
check_layout,
completion,
layout_configuration(),
layout_correspondence(),
layout_layered(),
layout_levels(),
layout_matching(),
layout_scaling(),
layout_spatial(),
layout_valence(),
plot_graphr,
plot_graphs,
plot_grapht
#graphr(ison_southern_women, layout = "concentric", membership = "type",
# node_color = "type", node_size = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.