interactions_data {CEMiTool} | R Documentation

## Retrieve and set interaction data to CEMiTool object

### Description

Retrieve and set interaction data to CEMiTool object

### Usage

    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

### Arguments

`cem` | Object of class `CEMiTool`.
`...` | parameters for igraph::graph_from_data_frame
`value` | a data.frame or matrix containing two columns

### Value

Object of class `CEMiTool`

### Examples

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

[Package CEMiTool version 1.0.3 Index]