Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2005-08-18 22:49:57
Size: 69
Editor: pix39
Comment:
Revision 4 as of 2005-08-19 00:26:34
Size: 853
Editor: pix39
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma section-numbers on
Line 3: Line 4:
=== As a plugin === 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

=== 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.

{{{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