Description Usage Arguments Value Author(s) See Also Examples
Node and node attributes belong to the Cytoscape session as a whole, not to a particular window. Use this method to find out the names of the currently defined node attributes.
1 |
obj |
a |
A list of names.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
getNodeAttribute deleteNodeAttribute getEdgeAttributeNames
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('demo.getNodeAttributeNames', graph=makeSimpleGraph())
displayGraph (cw)
# displayGraph is required. If you do not display the graph,
# your R graph data has not been sent to Cytoscape yet.
print (getNodeAttributeNames (cw))
# [1] "name" "type" "lfc" "label" "count"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.