Description Usage Arguments Value Examples
Retrieve and set interaction data to CEMiTool object
1 2 3 4 5 6 7 8 9 | interactions_data(cem, ...)
## S4 method for signature 'CEMiTool'
interactions_data(cem)
interactions_data(cem) <- value
## S4 replacement method for signature 'CEMiTool'
interactions_data(cem) <- value
|
cem |
Object of class |
... |
parameters for igraph::graph_from_data_frame |
value |
a data.frame or matrix containing two columns |
Object of class CEMiTool
1 2 3 4 5 6 7 8 9 | # Get example CEMiTool object
data(cem)
# Read example interactions data
int_df <- read.delim(system.file("extdata", "interactions.tsv",
package = "CEMiTool"))
# Insert interactions data
interactions_data(cem) <- int_df
# Check interactions data
interactions_data(cem)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.