plot_interactions {CEMiTool} | R Documentation |
Creates a graph based on interactions provided
plot_interactions(cem, ...) ## S4 method for signature 'CEMiTool' plot_interactions(cem, n = 10, ...)
cem |
Object of class |
... |
Optional parameters. |
n |
number of nodes to label |
Object of class CEMiTool
with profile plots
# 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")