contract_network: contract_network

Description Usage Arguments Value

View source: R/plot_visnetwork.R

Description

function to contract the visnetwork dataframe. It is automatically called by the plot_visnetwork() function if contract_net=T.

Usage

1
contract_network(data, seed = 123, show_label = F, show_legend = T)

Arguments

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

Value

list of two objects:

This dataset reports only the nodes contained in each cluster and the connections between the clusters


haneylab/geNet documentation built on Oct. 4, 2020, 8:40 a.m.