Personal tools

User:Hisa/tabletest: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ask:[[Category:FFCP]][[EntrezGene::10]][[Species::Human (Homo sapiens)]]|?id|?short_description|limit=100|format=template|template=Entrezgene_cpphase1_exptable_header_hg19|sep=</th><th scope="col">}}






<html>
<html>
<!-- tf enrich table: start-->
<!-- tf enrich table: start-->
<style type="text/css" title="currentStyle">
<style type="text/css" title="currentStyle">
@import "/resource_browser/rb_js/datatables/media/css/f5_rb_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 ffcp_tf_enrichscore_d=
[
</html>
{{#exp_enrichscore_dtarr:
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;;
|FFCP_PHASE1:Hg19::
}}
<html>
];


$(document).ready(function() {
$('#ffcp_tf_enrichscore').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="ffcp_tf_enrichscore_cont"></table>' );
$('#ffcp_tf_enrichscore').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="ffcp_tf_enrichscore_cont"></table>' );
$('#ffcp_tf_enrichscore_cont').dataTable( {
var oTable = $('#ffcp_tf_enrichscore_cont').dataTable( {
"sDom": '<"toolbar">frtip',
"bProcessing": true,
// "sScrollX": "100%",
// "sScrollXInner": "150%",
 
         "sScrollY": "300px",
         "sScrollY": "300px",
         "bPaginate": false,
         "bPaginate": false,
         "bScrollCollapse": true,
         "bScrollCollapse": true,
"iDisplayLength": -1,
"iDisplayLength": -1,
"aaData": ffcp_tf_enrichscore_d,
"aoColumns": cols,
"aoColumns": [
"aaData": data,
{ "sTitle": "FCP 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>
<!-- tf enrich table: end-->


<!-- top motif table: start-->
<script type="text/javascript" charset="utf-8">


var top_motif_d=
[
</html>
{{#top_motifs_dtarr:
HNF4A_NR2F1,2:3.18450366489;ESRRA:2.63315509929;ZEB1:2.5915728042;FOXN1:2.35072647535;PAX2:2.31193040361;RXR{A,B,G}_{NR1H2,PPAR}dimers:2.2694092643;ATF4:2.19997604008;SNAI1..3:2.08612881781;FOXM1:2.08504951106;PDX1:1.99052891189;TBX4,5:1.87606945968;ATF5_CREB3:1.80657359091;HNF1A:1.76360033291;PPARG:1.73810790227;SP1:1.7106315154;NR6A1:1.70614392642;NFIX:1.65973758591;CREB1:1.61336416687;NR5A1,2:1.54149969552;FOSL2:1.5366103188;GTF2A1,2:1.31596141512;bHLH_family:1.25734734857;PAX8:1.19920494356;FOS_FOS{B,L1}_JUN{B,D}:1.16304348973;FOX{D1,D2}:1.11321842664;AR:1.09771252655;IRF1,2:1.08364495761;DMAP1_NCOR{1,2}_SMARC:0.987062702842;FOX{I1,J2}:0.976635010608
}}
<html>
];


$(document).ready(function() {
});
$('#top_motiftb').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="top_motiftb_cont"></table>' );
$('#top_motiftb_cont').dataTable( {
"sDom": '<"top_motif_toolbar">frtip',
        "sScrollY": "300px",
        "bPaginate": false,
        "bScrollCollapse": true,
"iDisplayLength": -1,
"aaData": top_motif_d,
"aoColumns": [
{ "sTitle": "Motifs","sWidth": "30px",
"fnRender": function(obj) {
var id = obj.aData[ obj.iDataColumn ].split("!");
return sReturn = "<a href=\"/resource_browser/"+id[0]+"\">"+id[1]+"</a>";
}
},
{ "sTitle": "Z-score","sWidth": "30px"},


],
"aaSorting": [[ 1, "desc" ]]
} );
$("div.top_motif_toolbar").html('<b>Top motif activities with MARA</b>');
$("div.top_motif_toolbar").css('border-width', '0 0 2px 0');
$("div.top_motif_toolbar").css('border-color', '#6495ED');
$("div.top_motif_toolbar").css('border-style', 'solid');
$("#top_motiftb thead th").css('line-height', '34px');
} );
</script>
</script>


<div id="debug" style="float:left;"></div>
<div id="ffcp_tf_enrichscore" style="float:left;"></div>
<div id="ffcp_tf_enrichscore" style="float:left;"></div>
<div id="top_motiftb" style="float:left;padding-left:15px;"></div>
 
<!-- top motif table: end-->
 
</html>
</html>

Latest revision as of 14:47, 17 May 2012