subgraph_difference_plot {PLEXI} | R Documentation |
Visualization of a difference subgroup using a circular graph
Description
Visualization of a difference subgroup using a circular graph
Usage
subgraph_difference_plot(
plexi.graph,
node.importance,
n.var.nodes = 5,
n.neigh = 10,
diff.threshold = 0,
edge.width = c(0.5, 4)
)
Arguments
plexi.graph |
plexi.graph data |
node.importance |
named numeric vector of the node importance to sort the nodes clockwise. |
n.var.nodes |
number of variable nodes to show |
n.neigh |
number of neighboring nodes to show |
diff.threshold |
edge threshold |
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. |
Value
nothing to return
Examples
myNet = network_gen(n.nodes = 100, n.var.nodes = 5, n.var.nei = 90, noise.sd = .01)
graph_data = myNet[["data_graph"]]
node_importance_dummy = 1:100
names(node_importance_dummy) = 1:100
subgraph_difference_plot(graph_data, node.importance = node_importance_dummy)
[Package PLEXI version 1.0.0 Index]