Commit eecf9597 authored by Nijveen's avatar Nijveen
Browse files

fixed link to tair

parent abb6950d
......@@ -246,6 +246,18 @@ draw = (data) ->
.attr("opacity", 1)
.on "mouseover", () -> dottip.show()
.on "mouseout", () -> dottip.hide()
else
for probe_data,i in probe_data_set
do(probe_data)->
svg.append("circle")
.attr("id", "gene_#{probe_data.gene}")
.attr("cx", chrXScale[probe_data.chr](probe_data.start))
.attr("cy", top)
.attr("r", bigRad)
.attr("fill", lineColors(i))
.attr("stroke", darkblue)
.attr("stroke-width", 1)
.attr("opacity", 1)
svg.call(martip)
......@@ -307,9 +319,13 @@ draw = (data) ->
label = probe_data.experiment
linkUrl = "/AraQTL/cistrans/?experiment_name="+label
legendtiptext = "<i>click for experiment details</i>"
else if probe_data.name
label = probe_data.gene + " (" + probe_data.name + ")"
linkUrl = data.url+probe_data.gene
legendtiptext = "<i>click for gene information<br>at arabidopsis.org</i>"
else
label = probe_data.gene
linkUrl = data.url+label
label = probe_data.gene
linkUrl = data.url+probe_data.gene
legendtiptext = "<i>click for gene information<br>at arabidopsis.org</i>"
xlink = probeaxes.append("a").attr("xlink:href", linkUrl).attr("xlink:show","new")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment