plot_interactions: Network visualization

Description Usage Arguments Value Examples

Description

Creates a graph based on interactions provided

Usage

1
2
3
4
plot_interactions(cem, ...)

## S4 method for signature 'CEMiTool'
plot_interactions(cem, n = 10, ...)

Arguments

cem

Object of class CEMiTool.

...

Optional parameters.

n

number of nodes to label

Value

Object of class CEMiTool with profile plots

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Get example CEMiTool object
data(cem)
# Get example gene interactions data
int <- system.file("extdata", "interactions.tsv", package = "CEMiTool")
int_df <- read.delim(int)
# Include interaction data into CEMiTool object
interactions_data(cem) <- int_df
# Plot resulting networks
cem <- plot_interactions(cem)
# Check resulting plot
show_plot(cem, "interaction")

CEMiTool documentation built on March 13, 2021, 2 a.m.