aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Sloan2013-01-10 17:24:00 -0600
committerZachary Sloan2013-01-10 17:24:00 -0600
commit4e55467b4988bfe2081ce3348df7d09204f50ecb (patch)
treed3fb1e24d991dffa087b8cbecf4e56505e8f0371
parent321d8e544f1765845b7cb31bceff7c4d3929d394 (diff)
downloadgenenetwork2-4e55467b4988bfe2081ce3348df7d09204f50ecb.tar.gz
Checking in before we try to write our own code for the manhattan
plot figure`
-rw-r--r--wqflask/wqflask/static/new/javascript/marker_regression.coffee13
-rw-r--r--wqflask/wqflask/static/new/javascript/marker_regression.js4
2 files changed, 9 insertions, 8 deletions
diff --git a/wqflask/wqflask/static/new/javascript/marker_regression.coffee b/wqflask/wqflask/static/new/javascript/marker_regression.coffee
index 655c8d1a..7eb62ec1 100644
--- a/wqflask/wqflask/static/new/javascript/marker_regression.coffee
+++ b/wqflask/wqflask/static/new/javascript/marker_regression.coffee
@@ -118,8 +118,7 @@ $ ->
showGridline: false
formatString: '%d'
label: "Megabases"
-
-
+
if @name == "1"
plot_options.axes.yaxis =
@@ -161,8 +160,7 @@ $ ->
if result.lrs > @max_lrs
@max_lrs = result.lrs
@chromosomes[chromosome].process_point(mb, result.lrs)
-
-
+
display_graphs: ->
### Call display_graph for each chromosome ###
@@ -188,9 +186,12 @@ $ ->
console.log("html is:", html)
$("#manhattan_plots").append(html)
@chromosomes[key].display_graph(@max_lrs)
+
+ $('.jqplot-yaxis').hide()
+ $('#manhattan_plot_1').find('.jqplot-yaxis').show()
- $(".jqplot-yaxis").hide()
- $(".jqplot-yaxis-tick").hide()
+ #$(".jqplot-yaxis").hide()
+ #$(".jqplot-yaxis-tick").hide()
#process_data: ->
diff --git a/wqflask/wqflask/static/new/javascript/marker_regression.js b/wqflask/wqflask/static/new/javascript/marker_regression.js
index 6f4a33e7..19a7d051 100644
--- a/wqflask/wqflask/static/new/javascript/marker_regression.js
+++ b/wqflask/wqflask/static/new/javascript/marker_regression.js
@@ -212,8 +212,8 @@
$("#manhattan_plots").append(html);
this.chromosomes[key].display_graph(this.max_lrs);
}
- $(".jqplot-yaxis").hide();
- return $(".jqplot-yaxis-tick").hide();
+ $('.jqplot-yaxis').hide();
+ return $('#manhattan_plot_1').find('.jqplot-yaxis').show();
};
return Manhattan_Plot;