subgraph_difference_plot {mnda} | 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(
mnda.graph,
node.importance,
n.var.nodes = 5,
n.neigh = 10,
diff.threshold = 0,
edge.width = c(0.5, 4)
)
Arguments
mnda.graph |
mnda.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 mnda version 1.0.9 Index]