aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorchristian2016-08-12 15:39:29 +0200
committerchristian2016-08-12 15:39:29 +0200
commitac3393872c6f87a8707c1925ef4927c7c0f83936 (patch)
tree82c20e946074ba69f4727271393fc2a3b5b0822a /wqflask
parent7d78c6099527bd35bf67ec0eee0f2ad90e43758c (diff)
downloadgenenetwork2-ac3393872c6f87a8707c1925ef4927c7c0f83936.tar.gz
Add genotype track
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/marker_regression_gn1.html55
1 files changed, 53 insertions, 2 deletions
diff --git a/wqflask/wqflask/templates/marker_regression_gn1.html b/wqflask/wqflask/templates/marker_regression_gn1.html
index 47e282cf..b9d1f4fe 100644
--- a/wqflask/wqflask/templates/marker_regression_gn1.html
+++ b/wqflask/wqflask/templates/marker_regression_gn1.html
@@ -369,6 +369,57 @@
tier_type: 'sequence',
provides_entrypoints: true
});
+ 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/",*/
+ controlURI: "http://localhost:8880/genotype/mouse/BXD.json",
+ URIBase: "http://localhost:8880/",
+ tier_type: 'rqtl-genotype',
+ pinned: true,
+ transposed: true,
+ style: [
+ { type: "default",
+ method: "U",
+ style: { glyph: "BOX",
+ LINE: "0.5",
+ FGCOLOR: "black",
+ BGCOLOR: "white",
+ BGITEM: "true",
+ HEIGHT: "2",
+ BUMP: "true",
+ }},
+ { type: "default",
+ method: "B",
+ style: { glyph: "BOX",
+ LINE: "0.5",
+ FGCOLOR: "blue",
+ BGCOLOR: "blue",
+ BGITEM: "true",
+ HEIGHT: "2",
+ BUMP: "true",
+ }},
+ { type: "default",
+ method: "H",
+ style: { glyph: "BOX",
+ LINE: "0.5",
+ FGCOLOR: "green",
+ BGCOLOR: "green",
+ BGITEM: "true",
+ HEIGHT: "2",
+ BUMP: "true",
+ }},
+ { type: "default",
+ method: "D",
+ style: { glyph: "BOX",
+ LINE: "0.5",
+ FGCOLOR: "red",
+ BGCOLOR: "red",
+ BGITEM: "true",
+ HEIGHT: "2",
+ BUMP: "true",
+ }},
+ ]
+ });
BD.putSource({name: 'QTL',
tier_type: 'qtl',
uri: 'http://localhost:5003/generated_text/{{csv_filename}}',
@@ -377,8 +428,8 @@
style: {
glyph: "LINEPLOT",
MIN: 0,
- MAX: 2.5,
- HEIGHT: 120,
+ MAX: 3,
+ HEIGHT: 200,
STEPS: 500,
COLOR1: "blue",
}