plot_interactions: Network visualization

plot_interactionsR Documentation

Network visualization

Description

Creates a graph based on interactions provided

Usage

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

# 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")


csbl-usp/CEMiTool documentation built on March 27, 2024, 5:14 a.m.