Personal tools

User:Hisa/tabletest: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
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;;
|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;;


<html>
{{#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;;
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.js"></script>
}}
<script type="text/javascript" charset="utf-8">
/* Data set - can contain whatever information you want */
var aDataSet =
[
</html>


<html>
<html>
];
<style type="text/css" title="currentStyle">
@import "/resource_browser/rb_js/datatables/media/css/demo_table.css";
$(document).ready(function() {
</style>
$('#dynamic').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.js"></script>
$('#example').dataTable( {
<script type="text/javascript" charset="utf-8">
                                        "iDisplayLength": 30,
"aaData": aDataSet,
"aoColumns": [
{ "sTitle": "FF sample ID",
              "fnRender": function(obj) {
                    var id = obj.aData[ obj.iDataColumn ];
                    return sReturn = "<a href=\"/resource_browser/"+id+"\">"+id+"</a>";
                }
},
{ "sTitle": "Name","sWidth": "60%"},
{ "sTitle": "Species"},
]
} );
} );
</script>
 


<div id="dynamic"></div>
var aDataSet =
[
</html>
{{#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;;
|FFCP_PHASE1:Hg19::
}}
<html>
];


$(document).ready(function() {
$('#dynamic').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
$('#example').dataTable( {
        "sScrollY": "300px",
        "bPaginate": false,
        "bScrollCollapse": true,
"iDisplayLength": -1,
"aaData": aDataSet,
"aoColumns": [
{ "sTitle": "FF sample ID",
"fnRender": function(obj) {
var id = obj.aData[ obj.iDataColumn ].split("!");
return sReturn = "<a href=\"/resource_browser/"+id[0]+"\">"+id[1]+"</a>";
}
},
{ "sTitle": "Score"},
{ "sTitle": "Expression(TPM)"},
{ "sTitle": "TF(s)"}


],
"aaSorting": [[ 1, "desc" ],[ 2, "desc" ],[ 0, "asc" ]]
} );
} );
</script>
<div id="dynamic"></div>
</html>
</html>

Revision as of 10:44, 8 May 2012

|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;;

["chr12%3A107078493..107078533%2C%2B!p3@RFX4","2.02","102.95","RFX4"],["chr7%3A100065686..100065701%2C-!p2@TSC22D4","2.00","98.04","TSC22D4"],["chr4%3A57547454..57547469%2C-!p1@HOPX","1.94","86.97","HOPX"],["chr7%3A5111723..5111807%2C%2B!p2@RBAK","1.90","78.52","RBAK"],["chr2%3A114036488..114036504%2C-!p1@PAX8","1.78","58.94","PAX8"],["chr6%3A134210243..134210257%2C%2B!p1@TCF21","1.77","57.70","TCF21"]