Learn R Programming

aop (version 1.0.0)

convert_cytoscape_to_aop: Convert Cytoscape Graph to an AOP

Description

Converts a cytoscape JSON file to an aop_cytoscape-class object.

Usage

convert_cytoscape_to_aop(file)

Arguments

file
a Cytoscape JSON file.

Value

aop a aop_cytoscape-class object.

Details

This function converts a JSON file exported from Cytoscape into a aop_cytoscape-class object. Once an aop_cytoscape-class object, we can perform conversion to a graphNEL object, and then perform graph-based analyses.

Examples

Run this code
steatosis_json_file <- system.file("extdata", "steatosis_aop_json.cyjs",
package = "aop")
steatosis_aop <- convert_cytoscape_to_aop(steatosis_json_file)

Run the code above in your browser using DataLab