Personal tools

User:Serkan/test6: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 10: Line 10:
|sep=:
|sep=:
|propsep=/
|propsep=/
|limit=50
|limit=
|manysep=<MANY>
|manysep=<MANY>
|recordsep=<RCRD>
|recordsep=<RCRD>
Line 45: Line 45:
</style>
</style>
<script type="text/javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.min.js"></script>
 
        <script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/extras/TableTools/media/js/TableTools.min.js"></script>
<style type="text/css" title="currentStyle">
@import "/resource_browser/rb_js/datatables/media/css/jquery.dataTables.css";
@import "/resource_browser/rb_js/datatables/extras/TableTools/media/css/TableTools.css";
</style>
<script type="text/javascript">
<script type="text/javascript">
var content = "";
var content = "";
Line 56: Line 60:
                 var content_array = content.split(":");
                 var content_array = content.split(":");
                 for(i=0;i<content_array.length-1;i++){
                 for(i=0;i<content_array.length-1;i++){
                 var temp = content_array(i);
                 var temp = content_array[i];
                 var temp_array =temp.split("/");
                 var temp_array =temp.split("/");
                 m_data.content.push({EntrezGene:temp_array[0], Symbol:temp_array[1],Description:temp_array[2],PeakCount:temp_array[3]});
                 m_data.content.push({EntrezGene:'<a href=https://fantom5-collaboration.gsc.riken.jp/resource_browser/EntrezGene:'+temp_array[0]+'>'+temp_array[0]+'</a>', Symbol:temp_array[1],Description:temp_array[2],PeakCount:temp_array[3]});
                  
                  
                 }
                 }
                
                


$('#tf_table').dataTable( {
var oTable = $('#tf_table').dataTable( {
                 "bProcessing": true,
                 "bProcessing": true,
                "iDisplayLength":25,
                "aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
                "bScrollCollapse": true,
"bPaginate": true,
"bFilter": true,
"bFilter": true,
"bInfo": true,
"bInfo": true,
                "bJQueryUI": true,
                "aaSorting": [[ 1, "asc" ]],
                 "aaData": m_data.content,
                 "aaData": m_data.content,
                "aoColumns": [
 
                              { "mData": "EntrezGene" },
                "aoColumns":[
                              { "mData": "Symbol" },
                                {"mData": "EntrezGene","sTitle": "EntrezGene"},  
                              { "mData": "Description" },
                                {"mData": "Symbol","sTitle": "Symbol"},  
                              { "mData": "PeakCount" }
                                {"mData": "Description","sTitle": "Description"},  
                            ]
                                {"mData": "PeakCount","sTitle": "Peak Count"}
                                ]
} );
} );
var oTableTools = new TableTools( oTable, {"sSwfPath": "/resource_browser/rb_js/datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf", "aButtons": [ {"sExtends": "copy", "mColumns": "visible"}, {"sExtends": "csv", "mColumns": "visible"}, {"sExtends": "pdf", "mColumns": "visible"} ]});
$('#export_tool').before( oTableTools.dom.container );
} );
} );
</script>
</script>
<span id="export_tool"></span>
</html>
</html>
 
<table cellpadding="0" cellspacing="0" border="0" class="display" id="tf_table">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="tf_table"></table>
</table>

Latest revision as of 17:27, 1 October 2013


Human transcription factors

Peak counts && transcription factors graph overview