Author: kono
Date: 2010-01-13 15:14:06 -0800 (Wed, 13 Jan 2010)
New Revision: 18895
Modified:
csplugins/trunk/ucsd/ruschein/DenovoPGNetworkAlignment/src/org/cytoscape/DenovoPGNetworkAlignmentPlugin/NestedNetworkCreator.java
Log:
NODE-SIZE attribute added.
Modified:
csplugins/trunk/ucsd/ruschein/DenovoPGNetworkAlignment/src/org/cytoscape/DenovoPGNetworkAlignmentPlugin/NestedNetworkCreator.java
===================================================================
---
csplugins/trunk/ucsd/ruschein/DenovoPGNetworkAlignment/src/org/cytoscape/DenovoPGNetworkAlignmentPlugin/NestedNetworkCreator.java
2010-01-13 23:12:33 UTC (rev 18894)
+++
csplugins/trunk/ucsd/ruschein/DenovoPGNetworkAlignment/src/org/cytoscape/DenovoPGNetworkAlignmentPlugin/NestedNetworkCreator.java
2010-01-13 23:14:06 UTC (rev 18895)
@@ -29,6 +29,7 @@
static final String GENE_COUNT = "gene count";
static final String SCORE = "score";
static final String EDGE_SCORE = "edge score";
+ static final String NODE_SIZE = "complex node size";
private CyNetwork overviewNetwork = null;
private Map<TypedLinkNodeModule<String, BFEdge>, CyNode>
moduleToCyNodeMap;
@@ -111,7 +112,7 @@
.valueOf(genes.size()));
nodeAttribs.setAttribute(newNode.getIdentifier(), SCORE, Double
.valueOf(module.score()));
- nodeAttribs.setAttribute(newNode.getIdentifier(), SCORE, Math
+ nodeAttribs.setAttribute(newNode.getIdentifier(), NODE_SIZE,
Math
.sqrt(genes.size() / Math.PI));
newNode.setNestedNetwork(generateNestedNetwork(nodeName, genes,
originalNetwork));
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.