-
Notifications
You must be signed in to change notification settings - Fork 0
/
test18.html
78 lines (67 loc) · 3.31 KB
/
test18.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
<!DOCTYPE html>
<html>
<head>
<title>test18.html</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/main18.css" type="text/css" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.10.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script src="scripts/jquery.contextmenu.js"></script>
<link rel="stylesheet" href="css/jquery.contextmenu.css">
<script src="scripts/d3.v3.js"></script>
<script src="scripts/utils.js"></script>
<script src="scripts/jstat.min.js"></script>
<script src="scripts/OD_eventData.js"></script>
<script src="scripts/graphData.js"></script>
<script src="scripts/medbook_data_load.js"></script>
<script src="scripts/circleMapGenerator.js"></script>
<!-- <script src='data/clinicalData.js'></script>
<script src='data/expressionData.js'></script> -->
<noscript>
<div align="center">
<p style="color:black;background-color:red;font-size:18pt">
This website requires JavaScript. Please turn on JavaScript and then <a href="">try it again</a>.
</p>
</div>
</noscript>
</head>
<body>
<div id='graphDiv'>
Network graph.
</div>
<script>
// hard coded data
// clinicalData = aaa;
// expressionData = bbb;
eventAlbum = new eventData.OD_eventAlbum();
medbookDataLoader.getExpressionData('data/expression.tab', eventAlbum);
medbookDataLoader.getClinicalData('data/subtype.tab', eventAlbum);
medbookDataLoader.getViperData('data/viper.tab', eventAlbum);
console.log('eventAlbum', eventAlbum);
// pathway
graphDataURL = "data/vlado.sif";
graph = new graphData();
graph.readSif(utils.getResponse(graphDataURL));
console.log('graph', graph);
// medbookDataLoader.mongoClinicalData(clinicalData, eventAlbum);
//
// circlemap settings
queryData = {
// "sampleGroupSummarySwitch" : false,
// "ignoreMissingSamples" : false,
// "features" : ["PEG10_mRNA", "PFKFB4_mRNA", "PPARG_mRNA", "PRR5_mRNA", "REEP6_mRNA", "RUNX1T1_mRNA", "SELL_mRNA", "SERTAD1_mRNA", "SLC30A4_mRNA", "SPINK1_mRNA", "ST8SIA4_mRNA", "TEAD2_mRNA", "TMPRSS2_mRNA"],
"features" : ['ABTB2_mRNA', 'APOBEC3F_mRNA', 'APP_mRNA', 'AR_mRNA', 'DZIP1_mRNA', 'EPAS1_mRNA', 'ERG_mRNA', 'ESR2_mRNA', 'FGD1_mRNA', 'FKBP9_mRNA', 'IL6_mRNA', 'MYOM2_mRNA', 'NCOA1_mRNA', 'P2RY10_mRNA', 'PPP2R5C_mRNA', 'PTGER3_mRNA', 'SLC16A1_mRNA', 'ST5_mRNA', 'TBC1D16_mRNA', 'TBX21_mRNA', 'TGFB1_mRNA', 'TGFB2_mRNA', 'UGDH_mRNA', 'USP20_mRNA', 'VEGFA_mRNA', 'ZFPM2_mRNA'],
"ringsList" : ["core_subtype", "expression data", 'viper data'],
"orderFeature" : ['core_subtype', "AR_mRNA"],
"sortingRing" : "expression data",
// "ringMergeSwitch" : false
};
cmg = new circleMapGenerator(eventAlbum, queryData);
query = queryData;
circleDataLoaded = (utils.getQueryStringParameterByName('circles').toLowerCase() === 'true') ? true : false;
// circleDataLoaded = false;
</script>
<script src="scripts/main18.js"></script>
</body>
</html>