Cytoscape test2: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
<h1 id="firstHeading" class="firstHeading">FF:10563-108A5</h1> | <h1 id="firstHeading" class="firstHeading">FF:10563-108A5</h1> | ||
<p>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.</p> | |||
<div id="cytoscapeweb" style="width:800px;height:600px"> | <div id="cytoscapeweb" style="width:800px;height:600px"> | ||
Cytoscape Web will replace the contents of this div with your graph. | Cytoscape Web will replace the contents of this div with your graph. | ||
Line 20: | Line 23: | ||
<script type="text/javascript" src="/resource_browser/rb_js/cytoscapeweb/js/min/cytoscapeweb.min.js"></script> | <script type="text/javascript" src="/resource_browser/rb_js/cytoscapeweb/js/min/cytoscapeweb.min.js"></script> | ||
<!-- Load data --> | <!-- Load data --> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 61: | Line 63: | ||
attrName: "motif", | attrName: "motif", | ||
entries: [ { attrValue: "", value: "#0099ff" } ] | entries: [ { attrValue: "", value: "#0099ff" } ] | ||
}; | |||
var tooltipMapper = { | |||
attrName: "motif", | |||
entries: [ { attrValue: "", value: "<b>TF: ${id}</b>" } ] | |||
}; | }; | ||
Line 72: | Line 79: | ||
nodes: { | nodes: { | ||
label: { passthroughMapper: { attrName: "id" } }, | label: { passthroughMapper: { attrName: "id" } }, | ||
tooltipText: "<b>TF: ${id}</b><br />Motif: ${motif}", | //tooltipText: "<b>TF: ${id}</b><br />Motif: ${motif}", | ||
tooltipText: { defaultValue: "<b>TF: ${id}</b><br />Motif: ${motif}", discreteMapper: tooltipMapper }, | |||
shape: "ellipse", | shape: "ellipse", | ||
borderWidth: 1, | borderWidth: 1, |
Revision as of 15:24, 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.