1
+ <!doctype html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css "
5
+ integrity ="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M "
6
+ crossorigin ="anonymous ">
7
+ < link href ="https://fonts.googleapis.com/css?family=EB+Garamond|Libre+Franklin|Open+Sans|Roboto|Zilla+Slab " rel ="stylesheet ">
8
+ < link rel ="stylesheet " type ="text/css " href ="/css/expressMap.css ">
9
+ </ head >
10
+ < body class ="container-fluid " style ="margin-top:20px; ">
11
+ < div >
12
+ < h3 > GTExViz Demos</ h3 >
13
+ < div >
14
+ < h5 > GTEx DendroHeatmap</ h5 >
15
+ < div id ="userDendroHeatmap "> </ div >
16
+ </ div >
17
+ </ div >
18
+ </ body >
19
+ < script
20
+ src ="https://code.jquery.com/jquery-3.2.1.min.js "
21
+ integrity ="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4= "
22
+ crossorigin ="anonymous ">
23
+ </ script >
24
+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js " integrity ="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4 " crossorigin ="anonymous "> </ script >
25
+ < script src ="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js " integrity ="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1 " crossorigin ="anonymous "> </ script >
26
+ < script src ="/build/js/gtex-viz.bundle.dev.js "> </ script >
27
+ < script >
28
+ const data = {
29
+ rowTree : "(((TP53:0.17,SLK:0.17):1.18,NDRG4:1.34):1.33,ACTN3:2.67);" ,
30
+ colTree : "(((Adipose Visceral Omentum:0.06,Adipose Subcutaneous:0.06):0.00,Bladder:0.06):0.16,Adrenal Gland:0.22);" ,
31
+ heatmap : [
32
+ {
33
+ "y" : "SLK" ,
34
+ "value" : 35.505 ,
35
+ "x" : "Adipose Subcutaneous" ,
36
+ "unit" : "TPM"
37
+ } ,
38
+ {
39
+ "y" : "SLK" ,
40
+ "value" : 29.28 ,
41
+ "x" : "Adipose Visceral Omentum" ,
42
+ "unit" : "TPM"
43
+ } ,
44
+ {
45
+ "y" : "SLK" ,
46
+ "value" : 17.405 ,
47
+ "x" : "Adrenal Gland" ,
48
+ "unit" : "TPM"
49
+ } ,
50
+ {
51
+ "y" : "SLK" ,
52
+ "value" : 53.29 ,
53
+ "x" : "Bladder" ,
54
+ "unit" : "TPM"
55
+ } ,
56
+ {
57
+ "y" : "NDRG4" ,
58
+ "value" : 12.035 ,
59
+ "x" : "Adipose Subcutaneous" ,
60
+ "unit" : "TPM"
61
+ } ,
62
+ {
63
+ "y" : "NDRG4" ,
64
+ "value" : 6.531000000000001 ,
65
+ "x" : "Adipose Visceral Omentum" ,
66
+ "unit" : "TPM"
67
+ } ,
68
+ {
69
+ "y" : "NDRG4" ,
70
+ "value" : 134.8 ,
71
+ "x" : "Adrenal Gland" ,
72
+ "unit" : "TPM"
73
+ } ,
74
+ {
75
+ "y" : "NDRG4" ,
76
+ "value" : 7.1160000000000005 ,
77
+ "x" : "Bladder" ,
78
+ "unit" : "TPM"
79
+ } ,
80
+ {
81
+ "y" : "TP53" ,
82
+ "value" : 29.935 ,
83
+ "x" : "Adipose Subcutaneous" ,
84
+ "unit" : "TPM"
85
+ } ,
86
+ {
87
+ "y" : "TP53" ,
88
+ "value" : 23.55 ,
89
+ "x" : "Adipose Visceral Omentum" ,
90
+ "unit" : "TPM"
91
+ } ,
92
+ {
93
+ "y" : "TP53" ,
94
+ "value" : 18.515 ,
95
+ "x" : "Adrenal Gland" ,
96
+ "unit" : "TPM"
97
+ } ,
98
+ {
99
+ "y" : "TP53" ,
100
+ "value" : 40.51 ,
101
+ "x" : "Bladder" ,
102
+ "unit" : "TPM"
103
+ } ,
104
+ {
105
+ "y" : "ACTN3" ,
106
+ "value" : 0.33145 ,
107
+ "x" : "Adipose Subcutaneous" ,
108
+ "unit" : "TPM"
109
+ } ,
110
+ {
111
+ "y" : "ACTN3" ,
112
+ "value" : 0.3317 ,
113
+ "x" : "Adipose Visceral Omentum" ,
114
+ "unit" : "TPM"
115
+ } ,
116
+ {
117
+ "y" : "ACTN3" ,
118
+ "value" : 0.100005 ,
119
+ "x" : "Adrenal Gland" ,
120
+ "unit" : "TPM"
121
+ } ,
122
+ {
123
+ "y" : "ACTN3" ,
124
+ "value" : 0.48100000000000004 ,
125
+ "x" : "Bladder" ,
126
+ "unit" : "TPM"
127
+ }
128
+ ]
129
+ } ;
130
+ const config = {
131
+ id : 'userDendroHeatmap' ,
132
+ data : data ,
133
+ useLog : true ,
134
+ logBase : 10 ,
135
+ width : 600 , // outer width
136
+ height : 300 , // outer height
137
+ marginLeft : 20 ,
138
+ marginRight : 40 ,
139
+ marginTop : 50 ,
140
+ marginBottom : 50 ,
141
+ rowTreePanelWidth : 100 ,
142
+ colTreePanelHeight : 100 ,
143
+ colorScheme : "Blues" ,
144
+ cornerRadius : 2 ,
145
+ columnLabelHeight : 200 ,
146
+ columnLabelAngle : 60 ,
147
+ columnLabelPosAdjust : 10 ,
148
+ rowLabelWidth : 200 ,
149
+ legendSpace : 50
150
+ } ;
151
+ GTExViz . dendroHeatmap ( config ) ;
152
+ </ script >
153
+ </ html >
0 commit comments