Cytoscape test2: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 78: | Line 78: | ||
}, | }, | ||
nodes: { | nodes: { | ||
label: { passthroughMapper: { attrName: "id" } }, | //label: { passthroughMapper: { attrName: "id" } }, | ||
tooltipText: "<b>${type}: ${label}</b>", | |||
shape: { defaultValue: "ellipse", discreteMapper: shapeMapper }, | |||
borderWidth: 1, | borderWidth: 1, | ||
borderColor: "#000000", | borderColor: "#000000", | ||
size: 30, | size: 30, | ||
color: "#ff9900", | //color: "#ff9900", | ||
color: { defaultValue: "#ff9900", discreteMapper: colorMapper }, | color: { defaultValue: "#ff9900", discreteMapper: colorMapper }, | ||
//opacity: 0.8, | //opacity: 0.8, | ||
Line 95: | Line 94: | ||
edges: { | edges: { | ||
width: { passthroughMapper: { attrName: "zscore" } }, | width: { passthroughMapper: { attrName: "zscore" } }, | ||
label: { passthroughMapper: { attrName: " | label: { passthroughMapper: { attrName: "promoter" } }, | ||
tooltipText: "<b>Promoter: ${ | //tooltipText: "<b>Promoter: ${promoter}</b><br />Z-Score: ${zscore}", | ||
color: "#011e59", | tooltipText: { defaultValue: "", discreteMapper: edgeTooltipMapper }, | ||
//color: "#011e59", | |||
color: { defaultValue: "#011e59", discreteMapper: edgeColorMapper }, | |||
targetArrowShape: { defaultValue: "delta", discreteMapper: edgeArrowMapper }, | |||
sourceArrowShape: "", | sourceArrowShape: "", | ||
labelGlowOpacity: 0.8, | labelGlowOpacity: 0.8, |
Revision as of 15:25, 25 April 2012
FF:10563-108A5
TF to TF network. Mouseover nodes and edges to see attributes. Motif is an attribute of the source TF nodes (shown in green). Promoter and z-score are attributes of the TF to TF edge.
Cytoscape Web will replace the contents of this div with your graph.