Learn R Programming

RCy3 (version 1.2.0)

noa: noa

Description

Retrieve the value of the specified node attribute for every node in the graph.

Usage

noa(graph, node.attribute.name)

Arguments

graph
typically, a bioc graphNEL)
node.attribute.name
a character string

Value

A list, the contents of which are the attribute values, the names of which are the names of the nodes.

See Also

noa.names

Examples

Run this code
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  g <- makeSimpleGraph ()
  noa (g, 'type')
    #             A                      B                      C 
    #      "kinase" "transcription factor"         "glycoprotein" 

Run the code above in your browser using DataLab