plot_visnetwork: plot_visnetwork

Description Usage Arguments Value Examples

View source: R/plot_visnetwork.R

Description

function to plot the visnetwork object based on the data input

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_visnetwork(
  data,
  show_label = F,
  show_legend = T,
  seed = 123,
  name_net = "None",
  show_negative = F,
  contract_net = T,
  size_opt = "fixed"
)

Arguments

data

list of two ffdf objects generated by the geNet algorithm. Mandatory argument.

show_label

show the labels of the nodes?

show_legend

show the legend of groups?

seed

set the seed of the current instance

name_net

name of the network

show_negative

show negative edges?

contract_net

Should the network be contracted? Default to True

size_opt
  • fixed: the size of the node is equal to 8 (size layer values ignored)

  • size_opt: the size of the node is proportional to the size layer values

Default to "fixed". Note: if the there are too many nodes the size of the node is reduced regardless the option specified by the user.

Value

data: data object modified with the new size layer

Examples

1
2
3
4
5
6
7
## Not run:  
plot_visnetwork(data,show_label=F,
show_legend=T,seed=123,name_net="None",
show_negative=F,contract_net=T,
size_opt="fixed")

## End(Not run)

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