associate_data_aopn: Associate data with the AOPN

Description Usage Arguments Details Value Examples

View source: R/aopxplorer.R

Description

Associate data with the AOPN Key Events

Usage

1
associate_data_aopn(x, aopn_graph)

Arguments

x

a list object of data vectors (each list element is a different KE, or vector where the first column is the gene symbol from the AOPN, and the subsequent columns are different conditions, and the data within the table is some sort of response

aopn_graph

an object of class igraph that contains the AOPN – a graph of the key events and their relationships.

Details

This function associates data with the AOPN key events.

Value

aopn_graph an object of class igraph that contains the AOPN – a graph of the key events and their relationships, as well as the associated data

Examples

1
2
3
4
5
6
7
## Not run: 
x <- get_aopn("Steatosis")
aopn_kes <- get_aopn_kes(x)
expression_data <- c(2, 10, 10, NA, 3, 1, 1, 3, 2, 3, 2)
associate_data_aopn(expression_data, x)

## End(Not run)

DataSciBurgoon/aopxplorer2 documentation built on May 6, 2019, 1:52 p.m.