aop_cytoscape-methods: Get Node Name from ID

Description Usage Arguments Value Examples

Description

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

Usage

1
2
3
4
getAOPNodeName(theObject, id)

## S4 method for signature 'aop_cytoscape'
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

1
2
3
4
5
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")

aop documentation built on May 30, 2017, 2:55 a.m.