Cytoscape test: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
mNo edit summary |
||
Line 55: | Line 55: | ||
label: { passthroughMapper: { attrName: "id" } }, | label: { passthroughMapper: { attrName: "id" } }, | ||
tf: { passthroughMapper: { attrName: "id" } }, | tf: { passthroughMapper: { attrName: "id" } }, | ||
tooltipText: "<b>${id}</b><br />${motif}", | //tooltipText: "<b>${id}</b><br />${motif}", | ||
shape: "ellipse", | shape: "ellipse", | ||
borderWidth: 1, | borderWidth: 1, | ||
Line 65: | Line 65: | ||
}, | }, | ||
edges: { | edges: { | ||
width: { passthroughMapper: { attrName: "zscore" } }, | //width: { passthroughMapper: { attrName: "zscore" } }, | ||
label: { passthroughMapper: { attrName: "id" } }, | label: { passthroughMapper: { attrName: "id" } }, | ||
tooltipText: { passthroughMapper: { attrName: "id" } }, | tooltipText: { passthroughMapper: { attrName: "id" } }, | ||
Line 80: | Line 80: | ||
var draw_options = { | var draw_options = { | ||
// your data goes here | // your data goes here | ||
network: | network: sif, | ||
visualStyle: visual_style, | visualStyle: visual_style, | ||
nodeTooltipsEnabled: true, | nodeTooltipsEnabled: true, |
Revision as of 13:01, 23 April 2012
Cytoscape Web will replace the contents of this div with your graph.