Personal tools

User:Hisa/tabletest: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
|expression_enrichment_score=chr12:107078493..107078533,+!p3@RFX4!2.02!102.95!RFX4;;chr7:100065686..100065701,-!p2@TSC22D4!2.00!98.04!TSC22D4;;chr4:57547454..57547469,-!p1@HOPX!1.94!86.97!HOPX;;chr7:5111723..5111807,+!p2@RBAK!1.90!78.52!RBAK;;chr2:114036488..114036504,-!p1@PAX8!1.78!58.94!PAX8;;chr6:134210243..134210257,+!p1@TCF21!1.77!57.70!TCF21;;


{{#exp_enrichscore_dtarr:
 
chr12:107078493..107078533,+!p3@RFX4!2.02!102.95!RFX4;;chr7:100065686..100065701,-!p2@TSC22D4!2.00!98.04!TSC22D4;;chr4:57547454..57547469,-!p1@HOPX!1.94!86.97!HOPX;;chr7:5111723..5111807,+!p2@RBAK!1.90!78.52!RBAK;;chr2:114036488..114036504,-!p1@PAX8!1.78!58.94!PAX8;;chr6:134210243..134210257,+!p1@TCF21!1.77!57.70!TCF21;;
}}


<html>
<html>
<!-- tf enrich table: start-->
<style type="text/css" title="currentStyle">
<style type="text/css" title="currentStyle">
@import "/resource_browser/rb_js/datatables/media/css/demo_table.css";
@import "/resource_browser/rb_js/datatables/media/css/f5_rb_table.css";
</style>
</style>
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.js"></script>
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.min.js"></script>
 
 
 
<script type="text/javascript" charset="utf-8">
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
</html>
{{#exptable_hg19_dtarr:
{{#ask:[[Category:FFCP]][[EntrezGene::100]][[Species::Human (Homo sapiens)]]|?short_description|?id|?Phase1 expression|limit=10|format=template|template=Exptable_imput|sep=$
|sort=short_description
|order=ASC}}
|hg19
}}
<html>


var aDataSet =
$('#ffcp_tf_enrichscore').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="ffcp_tf_enrichscore_cont"></table>' );
[
var oTable = $('#ffcp_tf_enrichscore_cont').dataTable( {
</html>
"bProcessing": true,
{{#exp_enrichscore_dtarr:
// "sScrollX": "100%",
chr12:54410664..54410684,+!p1@HOXC4, p1@HOXC5, p1@HOXC6!2.11!128.81!HOXC6;;chr1:170632285..170632309,+!p1@PRRX1!1.84!77.03!PRRX1;;chr12:54402745..54402788,+!p1@HOXC8!1.73!53.23!HOXC8;;chr2:119605214..119605230,-!p1@EN1!1.57!36.15!EN1;;chr19:47523058..47523114,+!p1@NPAS1!1.55!34.70!NPAS1;;chrX:2418949..2419024,-!p1@DHRSX, p1@ZBED1!1.54!33.97!ZBED1;;chr12:54410639..54410659,+!p2@HOXC4, p2@HOXC5, p2@HOXC6!1.48!29.43!HOXC6;;chr18:53068911..53068935,-!p4@TCF4!1.47!32.34!TCF4;;chr9:132427883..132427951,+!p2@PRRX2!1.42!25.25!PRRX2;;chr9:132427972..132428056,+!p1@PRRX2!1.34!27.43!PRRX2;;chrX:106960180..106960197,-!p2@TSC22D3!1.24!62.13!TSC22D3;;chr1:23885981..23886002,-!p1@ID3!1.22!2658.14!ID3;;chr5:92918919..92918942,+!p1@NR2F1!1.19!63.77!NR2F1;;chr4:4861385..4861398,+!p1@MSX1!1.18!41.60!MSX1;;chr2:19558373..19558392,-!p1@OSR1!1.18!38.88!OSR1;;chr2:239756671..239756732,+!p1@TWIST2!1.17!43.97!TWIST2;;chr11:113930425..113930471,+!p1@ZBTB16!1.17!19.80!ZBTB16;;chr1:170633348..170633399,+!p2@PRRX1!1.15!17.80!PRRX1;;chr9:77112244..77112262,+!p1@RORB!1.15!14.53!RORB;;chr8:49833948..49833973,-!p2@SNAI2!1.13!78.67!SNAI2;;chr12:54402790..54402805,+!p2@HOXC8!1.13!12.54!HOXC8;;chr12:54393880..54393962,+!p1@HOXC9!1.13!12.35!HOXC9;;chr1:170632477..170632506,+!p6@PRRX1!1.13!12.35!PRRX1;;chr11:46299199..46299233,+!p1@CREB3L1!1.11!62.13!CREB3L1;;chr5:158526917..158526932,-!p1@EBF1!1.11!29.80!EBF1;;chr8:25902876..25902936,-!p1@EBF2!1.10!11.45!EBF2;;chr14:62162258..62162269,+!p2@HIF1A!1.09!110.10!HIF1A;;chr5:92919100..92919135,+!p3@NR2F1!1.09!13.63!NR2F1;;chr12:54402729..54402743,+!p3@HOXC8!1.09!11.26!HOXC8;;chr2:239756739..239756755,+!p2@TWIST2!1.08!19.08!TWIST2;;chr1:170632959..170632987,+!p4@PRRX1!1.08!11.99!PRRX1;;chr15:96874145..96874166,+!p7@NR2F2!1.07!20.89!NR2F2;;chr3:126076242..126076257,-!p1@KLF15!1.07!13.44!KLF15;;chr1:170633262..170633285,+!p3@PRRX1!1.06!11.99!PRRX1;;chr6:144329384..144329405,-!p1@PLAGL1!1.05!119.54!PLAGL1;;chr7:27192185..27192209,-!p1@HOXA3!1.04!9.99!HOXA3;;chr12:54394309..54394336,+!p2@HOXC9!1.03!9.63!HOXC9;;chr4:174451370..174451387,-!p1@HAND2!1.03!9.63!HAND2;;chr14:62162285..62162296,+!p3@HIF1A!1.02!50.69!HIF1A;;chr15:96869255..96869291,+!p6@NR2F2!1.02!17.62!NR2F2;;chr1:170633058..170633084,+!p5@PRRX1!1.02!9.45!PRRX1;;chrX:106960285..106960299,-!p1@TSC22D3!1.01!253.80!TSC22D3;;chr2:85981073..85981091,+!p5@ATOH8!1.01!9.27!ATOH8;;chr20:30193083..30193098,+!p1@ID1!1.00!733.80!ID1;;chr15:96876966..96877017,+!p12@NR2F2!1.00!13.26!NR2F2;;chr12:54410948..54410992,+!p3@HOXC5!1.00!9.08!HOXC5;;chr13:37494248..37494260,-!p3@SMAD9!1.00!8.90!SMAD9;;chr10:31610110..31610159,+!p2@ZEB1!1.00!8.90!ZEB1;;chr2:119604456..119604501,-!p2@EN1!0.98!8.54!EN1;;chr11:46299539..46299620,+!p2@CREB3L1!0.97!14.35!CREB3L1;;chr2:176994408..176994492,+!p1@HOXD8!0.97!8.36!HOXD8;;chr4:174450089..174450153,-!p2@HAND2!0.97!8.36!HAND2;;chr12:54394416..54394467,+!p5@HOXC9!0.96!8.18!HOXC9;;chr7:19157248..19157268,-!p1@TWIST1!0.95!22.35!TWIST1;;chr8:49833978..49833996,-!p1@SNAI2!0.94!163.15!SNAI2;;chr15:96874012..96874042,+!p2@NR2F2!0.94!72.13!NR2F2;;chr19:46801639..46801699,+!p1@HIF3A!0.93!7.45!HIF3A;;chr10:119303078..119303169,+!p2@EMX2!0.93!7.45!EMX2;;chr15:96873984..96873999,+!p3@NR2F2!0.92!56.14!NR2F2;;chr13:41240717..41240735,-!p2@FOXO1!0.92!51.78!FOXO1;;chr8:99956662..99956684,+!p1@OSR2!0.91!11.08!OSR2;;chr12:80085061..80085119,-!p6@PAWR!0.90!11.45!PAWR;;chr6:85473156..85473210,-!p2@TBX18!0.90!8.54!TBX18;;chr6:28321909..28321965,-!p3@ZNF323!0.90!6.90!ZNF323;;
// "sScrollXInner": "150%",
|FFCP_PHASE1:Hg19::
}}
<html>
];


$(document).ready(function() {
$('#dynamic').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
$('#example').dataTable( {
"sDom": '<"toolbar">frtip',
         "sScrollY": "300px",
         "sScrollY": "300px",
         "bPaginate": false,
         "bPaginate": false,
         "bScrollCollapse": true,
         "bScrollCollapse": true,
"iDisplayLength": -1,
"iDisplayLength": -1,
"aaData": aDataSet,
"aoColumns": cols,
"aoColumns": [
"aaData": data,
{ "sTitle": "FFCP Phase1","sWidth": "30px",
"aaSorting": [[ 1, "desc" ]]
"fnRender": function(obj) {
 
var id = obj.aData[ obj.iDataColumn ].split("!");
 
return sReturn = "<a href=\"/resource_browser/"+id[0]+"\">"+id[1]+"</a>";
});
}
// hyperlink on column header
},
for(i1=1;i1<$("#ffcp_tf_enrichscore tr")[0].cells.length;i1++){
{ "sTitle": "Enrichment Score","sWidth": "30px"},
$("#ffcp_tf_enrichscore tr")[0].cells[i1].innerHTML = "<a href=\"/resource_browser/index.php/FFCP_PHASE1:Hg19::"+encodeURI(collinks.shift())+"\">"+$("#ffcp_tf_enrichscore tr")[0].cells[i1].innerHTML+"</a>";
{ "sTitle": "Expression (TPM)","sWidth": "30px"},
}
{ "sTitle": "TF(s)"}
 
// hyperlink on sample record
for(i1=1;i1<$("#ffcp_tf_enrichscore tr").length;i1++){
var cellcont = $("#ffcp_tf_enrichscore tr")[i1].cells[0].innerHTML;
$("#ffcp_tf_enrichscore tr")[i1].cells[0].innerHTML = "<a href=\"/resource_browser/FF:"+cellcont.split(".").pop()+"\">"+cellcont+"</a>";
}
 
 
//$("#ffcp_tf_enrichscore tbody td").not('.dt_sample_name').each(function(){
//var cval= $(this).innerHTML;
//$(this).css({background: 'yellow'});
//}
//);
 
 
 
 
});


],
"aaSorting": [[ 1, "desc" ],[ 2, "desc" ],[ 0, "asc" ]]
} );
$("div.toolbar").html('<b>TF expression and enrichment</b>');
$("div.toolbar").css('border-width', '0 0 2px 0');
$("div.toolbar").css('border-color', '#6495ED');
$("div.toolbar").css('border-style', 'solid');
} );
</script>
</script>
<div id="dynamic" style="float:left;"></div>
 
 
<div id="debug" style="float:left;"></div>
<div id="ffcp_tf_enrichscore" style="float:left;"></div>
 
 
</html>
</html>

Latest revision as of 14:47, 17 May 2012