Differences between revisions 3 and 7 (spanning 4 versions)
Revision 3 as of 2005-08-19 00:11:59
Size: 282
Editor: pix39
Comment:
Revision 7 as of 2005-08-19 00:28:16
Size: 830
Editor: pix39
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
=== As a plugin === === Acessing Cytoscape Data ===
Line 9: Line 9:
=== getting stuff === All attributes in Cytoscape are shared acrosss all CyNetworks. So there is only one global CytoscapeData instance for nodes and edges. These are available from the {{{cytoscape.Cytoscape}}} class.

{{{
!#java
import cytoscape.Cytoscape;
import cytoscape.data.CytoscapeData;

public class MyDataClass {

  MyDataClass () {

    // get the node Cytoscape Data Instance
    CytoscapeData node_data = Cytoscape.getNodeNetworkData();

    // get the edge Cytoscape Data Instance
    CytoscapeData edge_data = Cytoscape.getEdgeNetworkData();

}

TableOfContents

This guide is intended to provide code examples for using CytoscapeData to access all of your information. Any questsions should be directed to cytoscape-discuss@googlegroups.com

1. Acessing Cytoscape Data

All attributes in Cytoscape are shared acrosss all CyNetworks. So there is only one global CytoscapeData instance for nodes and edges. These are available from the cytoscape.Cytoscape class.

CytoscapeData_Usage (last edited 2009-02-12 01:03:28 by localhost)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux