aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristian2016-09-08 16:40:47 +0200
committerchristian2016-09-08 16:40:47 +0200
commit2ddde04f4dd773d64705694e67f7cdcbe341637b (patch)
tree11c7abd7d86f9ae1c0c2123dfc435d36fdae2cc1
parentabb988fca2c0c67be0bcd7108902fb3ba403d5b9 (diff)
downloadgenenetwork2-2ddde04f4dd773d64705694e67f7cdcbe341637b.tar.gz
Fix genotype & QTL plot vertical scaling
-rw-r--r--wqflask/wqflask/static/new/javascript/biodalliance.js2
-rw-r--r--wqflask/wqflask/templates/marker_regression_gn1.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/wqflask/static/new/javascript/biodalliance.js b/wqflask/wqflask/static/new/javascript/biodalliance.js
index 3cfc26eb..3b9e3b7f 100644
--- a/wqflask/wqflask/static/new/javascript/biodalliance.js
+++ b/wqflask/wqflask/static/new/javascript/biodalliance.js
@@ -23,7 +23,7 @@ BD.createBrowser = function(chr, start, end, speciesName, sources) {
sources: sources,
- maxHeight: 1000,
+ maxHeight: 1400,
setDocumentTitle: false,
prefix: '/dalliance/',
workerPrefix: 'build/',
diff --git a/wqflask/wqflask/templates/marker_regression_gn1.html b/wqflask/wqflask/templates/marker_regression_gn1.html
index a6c942dc..2bba1cc5 100644
--- a/wqflask/wqflask/templates/marker_regression_gn1.html
+++ b/wqflask/wqflask/templates/marker_regression_gn1.html
@@ -372,7 +372,8 @@
BD.putSource({name: 'Genotype',
controlURI: "http://test-gn2.genenetwork.org/api_pre1/genotype/mouse/BXD.json",
URIBase: "http://test-gn2.genenetwork.org/api_pre1/genotype/mouse/",
- tier_type: 'rqtl-genotype',
+ tier_type: 'rqtl-genotype',
+ vOffset: 8,
pinned: true,
transposed: true,
style: [
@@ -425,6 +426,7 @@
type: 'default',
style: {
glyph: "LINEPLOT",
+ AUTOMAX: "true",
MIN: 0,
MAX: 3,
HEIGHT: 200,