convert_aop_to_graph: Convert AOP to Graph

Description Usage Arguments Details Value Examples

View source: R/aop_graph_analysis.R

Description

Converts an AOP (encoded as aop_cytoscape object) to a graphNEL object.

Usage

1

Arguments

aop

an object of class aop_cytoscape.

Details

This function converts an aop_cytoscape object to a graphNEL object. This allows us to perform graph-based analyses of the AOP.

Value

aop_graph a graphNEL object representation of the AOP

Examples

1
2
3
4
5
6
library(graph)
steatosis_json_file <- system.file("extdata", "steatosis_aop_json.cyjs",
package = "aop")
steatosis_aop <- convert_cytoscape_to_aop(steatosis_json_file)
steatosis_aop_graph <- convert_aop_to_graph(steatosis_aop)
plot(steatosis_aop_graph)

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