Differences between revisions 8 and 9
Revision 8 as of 2005-08-16 22:50:47
Size: 2361
Editor: pix39
Comment:
Revision 9 as of 2005-08-16 22:56:13
Size: 2464
Editor: pix39
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
=== 2. CytoscapeData Attribute Storage and Access === === 2. Beginning CytoscapeData Attribute Storage and Access ===
Line 20: Line 20:
The methods that use this one attribute, one value are below: As more attributes are added, more values are stored for a given identifier.

[ftp://baker.systemsbiology.net/pub/xmas/CD_structure_2.png]

The following methods are used for accessing using the one-attribute-one-value paradigm.
Line 27: Line 31:
=== 3. Advanced CytoscapeData Attribute Storage and Access ===
Line 28: Line 33:
As more attributes are added, more values are stored for a given identifier.

[ftp://baker.systemsbiology.net/pub/xmas/CD_structure_2.png]

TableOfContents

1. 1. Overview of the CytoscapeData Classes

CytoscapeData is the primary class that Cytoscape uses for its attribute storage and access. CytoscapeData is an interface that provides a tiered API that allows for more advanced use as the user becomes more familiar with the class. The primary class, CytoscapeData, is an interface located at cytoscape.data.CytoscapeData. It extends the old data class, GraphObjAttributes, to support legacy code. CytoscapeData also extends the classes, CyData and CyDataDefinition, these classes provide the advanced functionality of CytoscapeData.

This document will deal primarily with the API offered by CytoscapeData, but more information is available for the support classes. The implementation and inheritance of CytoscapeData is shown here:

[ftp://baker.systemsbiology.net/pub/xmas/CytoscapeData_classes.png]

2. 2. Beginning CytoscapeData Attribute Storage and Access

CytoscapeData stores values in a multi-dimensional way. Every object in Cytoscape that has values stored for it, has a getIdentifier() method that will return the unique identifier for that object. Currently this is restricted to Nodes and Edges. To store or access a value, the value must be stored under an attribute name. This means that many different values can be associated with a node, each identifiable by a specifi attribute.

The simplest case is one attribute, and one value:

[ftp://baker.systemsbiology.net/pub/xmas/CD_structure_1.png]

As more attributes are added, more values are stored for a given identifier.

[ftp://baker.systemsbiology.net/pub/xmas/CD_structure_2.png]

The following methods are used for accessing using the one-attribute-one-value paradigm.

Set

setAttributeValue(String identifier, String attribute, Object value) 

Get

getAttributeValue(String identifier, String attribute) 

Delete

deleteAttributeValue(String identifier, String attribute) 

3. 3. Advanced CytoscapeData Attribute Storage and Access

[ftp://baker.systemsbiology.net/pub/xmas/CD_structure_3.png]

[ftp://baker.systemsbiology.net/pub/xmas/CD_structure_4.png]

UNder

Don't Fuck Up.

   1 This is = test;
   2 

Will give you access to the new data API now provided by Cytoscape.

4. Some Features

  • This
  • That
  • Other

New

Old

Span

yes

no

CytoscapeData (last edited 2009-02-12 01:04:01 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