interactions_data: Retrieve and set interaction data to CEMiTool object

Description Usage Arguments Value Examples

Description

Retrieve and set interaction data to CEMiTool object

Usage

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

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

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)

CEMiTool documentation built on March 13, 2021, 2 a.m.