Learn R Programming

aop (version 1.0.0)

getAOPNodeName: Get Node Name from ID

Description

Given an id, this method returns an aop_cytoscape node name.

Usage

getAOPNodeName(theObject, id)
"getAOPNodeName"(theObject, id)

Arguments

theObject
is an AOP as an object of class aop_cytoscape.
id
an object of class character such as "389".

Value

the name of the node

Examples

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

Run the code above in your browser using DataLab