Cytoscape test2: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 104: | Line 104: | ||
}, | }, | ||
nodes: { | nodes: { | ||
// | //tooltipText: "<b>${type}: ${label}</b>", | ||
shape: "ellipse", | shape: "ellipse", | ||
borderWidth: 1, | borderWidth: 1, | ||
Line 111: | Line 110: | ||
size: 30, | size: 30, | ||
//color: "#ff9900", | //color: "#ff9900", | ||
color: { defaultValue: "#ff9900", discreteMapper: colorMapper }, | //color: { defaultValue: "#ff9900", discreteMapper: colorMapper }, | ||
//opacity: 0.8, | //opacity: 0.8, | ||
opacity: { customMapper: { functionName: "customOpacity" } }, | //opacity: { customMapper: { functionName: "customOpacity" } }, | ||
selectionOpacity: 0.8, | selectionOpacity: 0.8, | ||
hoverOpacity: 0.8, | hoverOpacity: 0.8, | ||
Line 119: | Line 118: | ||
}, | }, | ||
edges: { | edges: { | ||
width: { passthroughMapper: { attrName: "zscore" } }, | //width: { passthroughMapper: { attrName: "zscore" } }, | ||
label: { passthroughMapper: { attrName: "promoter" } }, | //label: { passthroughMapper: { attrName: "promoter" } }, | ||
tooltipText: "<b>Promoter: ${promoter}</b><br />Z-Score: ${zscore}", | //tooltipText: "<b>Promoter: ${promoter}</b><br />Z-Score: ${zscore}", | ||
color: "#011e59", | |||
color: { defaultValue: "#011e59", discreteMapper: edgeColorMapper }, | //color: { defaultValue: "#011e59", discreteMapper: edgeColorMapper }, | ||
targetArrowShape: { defaultValue: "delta", discreteMapper: edgeArrowMapper }, | //targetArrowShape: { defaultValue: "delta", discreteMapper: edgeArrowMapper }, | ||
sourceArrowShape: "", | sourceArrowShape: "", | ||
labelGlowOpacity: 0.8, | labelGlowOpacity: 0.8, | ||
opacity: 0.8, | |||
opacity: { customMapper: { functionName: "customOpacity" } }, | //opacity: { customMapper: { functionName: "customOpacity" } }, | ||
selectionOpacity: 0.8, | selectionOpacity: 0.8, | ||
hoverOpacity: 0.8, | hoverOpacity: 0.8, |
Revision as of 14:11, 25 April 2012
FF:10563-108A5
Cytoscape Web will replace the contents of this div with your graph.
TF to TF network. Motif is an attribute of the source TF node. Promoter is an attribute of the TF to TF edge.