Description Usage Arguments Value
View source: R/plot_visnetwork.R
function to contract the visnetwork dataframe. It is automatically called by the plot_visnetwork() function if contract_net=T.
1 | contract_network(data, seed = 123, show_label = F, show_legend = T)
|
data |
visnetwork dataframe generated by the geNet algorithm. Mandatory argument. |
seed |
set seed of the nodes |
show_label |
should the labels of the nodes be visible? default to False |
show_legend |
should the legend be visible? default to True |
list of two objects:
visnet: object of class "visNetwork" generated from the contracted data.
data_contracted: a compressed version of the input data object. It is generated by contracting the nodes of each cluster in one vertex.
This dataset reports only the nodes contained in each cluster and the connections between the clusters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.