the names or indices of the nodes around which the subgroup is plotted.
labels
the labels of the nodes to be indicated. Labels should be a named vector if the node_set consists of the node names.
node.importance
named numeric vector of the node importance to sort the nodes clockwise.
n.nodes
number of nodes to be displayed. If NULL, all the node_set and their neighbors are considered.
node_size
size of the nodes in plot (default: 5)
font_size
font size of labels if available (default: 4)
edge_width
numeric value to adjust the thickness of the edges in plot.
Two modes are defined: [i] two numbers indicating the min and max (default: c(0.5,4));
or [ii] a single number that weights the min/max of original edge weights.
margin
the figure margin (default: 2.5)
Details
This function plots a sub-graph given by a set of nodes as circular plot.
the main inputs to the function are: a graph (as an igraph object) and a set of nodes
(e.g. highly variable nodes) around which the subgroup is calculated.