-
Notifications
You must be signed in to change notification settings - Fork 17
/
GSE40705.html
179 lines (168 loc) · 5.31 KB
/
GSE40705.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>GSE40705, Pancreas | Genome-Wide RNA-Seq Viewer</title>
<link type="text/css" rel="stylesheet" href="ideogram/src/css/ideogram.css"/>
<link type="text/css" rel="stylesheet" href="css/rnaseqview.css"/>
<script type="text/javascript" src="ideogram/src/js/d3.min.js"></script>
<script type="text/javascript" src="ideogram/src/js/ideogram.js"></script>
<script type="text/javascript" src="ideogram/src/js/crossfilter.min.js"></script>
<script type="text/javascript" src="ideogram/src/js/ideogram.filter.js"></script>
</head>
<body>
<h1>GSE40705, Pancreas | Genome-Wide RNA-Seq Viewer</h1>
<div id="container"></div>
<ul id="expression-level">
Expression level
<li>
<label for="filter_expression-level_extremely-high">
<input type="checkbox" id="filter_expression-level_extremely-high">Extremely high</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_expression-level_very-high">
<input type="checkbox" id="filter_expression-level_very-high">Very high</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_expression-level_high">
<input type="checkbox" id="filter_expression-level_high">High</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_expression-level_moderately-high">
<input type="checkbox" id="filter_expression-level_moderately-high">Moderately high</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_expression-level_moderate">
<input type="checkbox" id="filter_expression-level_moderate">Moderate</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_expression-level_low">
<input type="checkbox" id="filter_expression-level_low">Low</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_expression-level_very-low">
<input type="checkbox" id="filter_expression-level_very-low">Very low</input>
<span class="count"></span>
</label>
</li>
</ul>
<ul id="gene-type">
Gene type
<li>
<label for="filter_gene-type_mrna">
<input type="checkbox" id="filter_gene-type_mrna">mRNA</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_gene-type_ncrna">
<input type="checkbox" id="filter_gene-type_ncrna">ncRNA</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_gene-type_misc-rna">
<input type="checkbox" id="filter_gene-type_misc-rna">misc_RNA</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_gene-type_precursor-rna">
<input type="checkbox" id="filter_gene-type_precursor-rna">precursor_RNA</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_gene-type_trna">
<input type="checkbox" id="filter_gene-type_trna">tRNA</input>
<span class="count"></span>
</label>
</li>
<li>
<label for="filter_gene-type_other">
<input type="checkbox" id="filter_gene-type_other">other</input>
<span class="count"></span>
</label>
</li>
</ul>
<div class="note">Source data: <a href="https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE40705" target="_blank">https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE40705</a></div>
<script type="text/javascript">
var counts, key, count;
function onIdeogramLoad() {
d3.selectAll("g.chromosome").on("click", function() {
ideogram.rotateAndToggleDisplay(this.id);
});
}
d3.selectAll("input").on("click", function() {
var filterMap,
tmp, facet,
checkedFilter,
checkedFilters,
selections = {},
i, facet, counts, count,
filterID;
filterMap = {
"expression-level": {
"extremely-high": 7,
"very-high": 6,
"high": 5,
"moderately-high": 4,
"moderate": 3,
"low": 2,
"very-low": 1
},
"gene-type": {
"mrna": 1,
"ncrna": 2,
"misc-rna": 3,
"precursor-rna": 4,
"trna": 5,
"rrna": 6,
"other": 7
}
};
checkedFilters = d3.selectAll("input:checked")[0];
for (i = 0; i < checkedFilters.length; i++) {
tmp = checkedFilters[i].id.split("_");
facet = tmp[1];
checkedFilter = tmp[2];
filterID = filterMap[facet][checkedFilter];
if (facet in selections == false) {
selections[facet] = {};
}
selections[facet][filterID] = 1;
}
ideogram.filterAnnots(selections);
});
var config = {
container: "#container",
taxid: 9606,
chromosomes: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "X", "Y"],
chrWidth: 10,
chrHeight: 300,
chrMargin: 10,
showChromosomeLabels: true,
annotationsPath: "data/GSE40705.json",
annotationsLayout: "histogram",
histogramScaling: "relative",
barWidth: 3,
orientation: "vertical",
bandDir: "ideogram/data/bands/",
onLoad: onIdeogramLoad
};
var ideogram = new Ideogram(config);
</script>
</body>
</html>