User:Hisa/SemanticResults: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
var data = []; | var data = []; | ||
var repnames = ['Adipocyte%20-%20breast%2c%20donor1.CNhs11051.11376-118A8','Adipocyte%20-%20breast%2c%20donor2.CNhs11969.11327-117E4','Adipocyte%20-%20omental%2c%20donor1.CNhs11054.11473-119C6','Adipocyte%20-%20omental%2c%20donor2.CNhs12067.11474-119C7','Adipocyte%20-%20omental%2c%20donor3.CNhs12068.11475-119C8']; | var repnames = ['Adipocyte%20-%20breast%2c%20donor1.CNhs11051.11376-118A8','Adipocyte%20-%20breast%2c%20donor2.CNhs11969.11327-117E4','Adipocyte%20-%20omental%2c%20donor1.CNhs11054.11473-119C6','Adipocyte%20-%20omental%2c%20donor2.CNhs12067.11474-119C7','Adipocyte%20-%20omental%2c%20donor3.CNhs12068.11475-119C8']; | ||
var values = ['</html>{{#replace | var values = ['</html>{{#replace:11376-118A8#CNhs11051;0.300414226311855!11327-117E4#CNhs11969;0.654063583000557!11473-119C6#CNhs11054;0.361621799925516!11474-119C7#CNhs12067;0.539816048554334!11475-119C8#CNhs12068;0.515551047822759|!|','}}<html>']; | ||
for(i1=0;i1<repnames.length;i1++){ | for(i1=0;i1<repnames.length;i1++){ | ||
var val = values[i1].split(";"); | var val = values[i1].split(";"); | ||
Line 34: | Line 33: | ||
"bInfo": false, | "bInfo": false, | ||
"aaData": data, | "aaData": data, | ||
"aoColumns": [{ "sTitle": "FF samples", "bSortable": false },{ "sTitle": "p-value", "sType": "numeric" }], | "aoColumns": [{ "sTitle": "FF samples", "bSortable": false, | ||
"fnRender": function(obj) { | |||
var id = obj.aData[ obj.iDataColumn ]; | |||
return sReturn = "<a href=\"/resource_browser/FF:"+id.split('.')[2]+"\">"+decodeURIComponent(id)+"</a>"; | |||
} },{ "sTitle": "p-value", "sType": "numeric" }], | |||
"aaSorting": [[ 1, "asc" ]], | "aaSorting": [[ 1, "asc" ]], | ||
}); | }); |
Revision as of 10:35, 12 September 2012
Sample specificity
The values shown are the p-values of the motif in FANTOM5 samples. <br>Analyst: Michiel de Hoon