visualize_network: visualize_network

Description Usage Arguments Value Examples

View source: R/visualization_functions.R

Description

function to visualize the network based on the connections and different conditions

Usage

1
2
3
4
5
6
7
8
visualize_network(
  data,
  select_group = NULL,
  select_tooltip = "None",
  select_size = "None",
  clust_method = "None",
  select_ID = NULL
)

Arguments

data

List of two ffdf objects (format generated by the geNet() function ). Mandatory argument

select_group

select the groups to filter data. Optional argument.

select_tooltip

select the annotation keywords to filter data. Optional argument. Note: the tooltip values are the values that appear when hovering the nodes

select_size

select the size of the nodes to filter data. Optional argument.

clust_method

select the clustering method. Default to Infomap.

select_ID

select the IDs to filter data. Optional argument.

Value

data: data object filtered

Examples

1
2
3
4
5
6
## Not run: 
data_subsetted<-visualize_network(data,select_group=c("group_1","group_5"))
data_subsetted<-visualize_network(data,select_tooltip=c("protein","secretion"))
data_subsetted<-visualize_network(data,clust_method="louvain")

## End(Not run)

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