visualize_graph {CINNA} | R Documentation |
This function demonstrates the input graph in which the size of nodes indicates calculated centrality value.
visualize_graph( x, computed_centrality_value = NULL, centrality.type = "Degree Centrality" )
x |
an igraph object |
computed_centrality_value |
A vector containing the values of calculated centrality measure for each node. |
centrality.type |
The type of centrality which should be calculated. |
This function represents the graph in which size of nodes are based on computed centrality value. If the values of wanted centrality measure were computed then by placing them in computed_centrality_value argument to use it for drawing the plot. Otherwise, by only giving the name of favorite centrality measure in centrality.type argument, this function will calculate it and then demonstrates the corresponding graph.
a plot illustrating the graph
Minoo Ashtiani, Mehdi Mirzaie, Mohieddin Jafari