interactions_data | R Documentation |
Retrieve and set interaction data to CEMiTool object
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
# 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.