Personal tools

Browse Transcription Factors mm9: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 7: Line 7:
|headers=hide
|headers=hide
|sort=Symbol
|sort=Symbol
|order=DESC
|order=asc
|mainlabel=-
|mainlabel=-
|sep=?
|sep=?
|propsep=/
|propsep=/
|limit=
|manysep=!
|manysep=!
|recordsep=<RCRD>
|recordsep=<RCRD>
Line 39: Line 38:
<html>
<html>
<style type="text/css" title="currentStyle">
<style type="text/css" title="currentStyle">
@import "/5/sstar/rb_js/datatables/media/css/jquery.dataTables.css";
@import "/5/sstar/rb_js/html5button/datatables.css";
                @import "/5/sstar/rb_js/datatables/extras/TableTools/media/css/TableTools.css";
 
.ImageBorder
.ImageBorder
{
{
Line 48: Line 45:
     height      : 20px;
     height      : 20px;
}
}
</style>


</style>
<script type="text/javascript" src="/5/sstar/rb_js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/5/sstar/rb_js/datatables/media/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/5/sstar/rb_js/html5button/datatables.min.js"></script>
<script type="text/javascript" language="javascript" src="/5/sstar/rb_js/datatables/extras/TableTools/media/js/ZeroClipboard.js"></script>
<script type="text/javascript" language="javascript" src="/5/sstar/rb_js/datatables/extras/TableTools/media/js/TableTools.js">
</script>
<script type="text/javascript">
<script type="text/javascript">
             var content = "";
             var content = "";
Line 72: Line 67:
                  
                  
                 }
                 }
var oTable = $('#tf_table').dataTable( {
$('#tf_table').DataTable( {
                 "bProcessing": true,
        dom: 'Blfrtip',
                 "iDisplayLength":25,
                 processing: true,
                "aLengthMenu": [[10,25,50, -1], [10,25,50, "All"]],
                 pageLength: 25,
                 "bScrollCollapse": true,
        buttons: ['copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5'],
"bPaginate": true,
        lengthMenu: [[10, 25, 50, -1], [10, 25, 50, "All"]],
"bFilter": true,
                 scrollCollapse: true,
"bInfo": true,
                 autoWidth: false,  
                 "bAutoWidth": false,  
                 jQueryUI: false,
                 "bJQueryUI": false,
                 order: [[ 2, "asc" ]],
                 "aaSorting": [[ 2, "asc" ]],
                 data: m_data.content,
                 "aaData": m_data.content,
        columns: [
                "aoColumns":[
{ data: "EntrezGene", title: "EntrezGene"},
                                {"mData": "EntrezGene","sTitle": "EntrezGene"},  
            { data: "Symbol", title: "Symbol"},
                                {"mData": "Symbol","sTitle": "Symbol"},  
            { data: "MotifId", title: "Associated Motif",
                                {"mData": "MotifId","sTitle":"Associated Motif",
              render: function ( data, type, row, meta ) {
                                              "fnRender": function( obj ) {
var motid = data;
var motid = obj.aData.MotifId;
if (motid == "NA") {
if (motid == "NA") {
     return_val = "NA";
     return_val = "NA";
} else {
} else {
     var splitted = motid.split("!");
     var splitted = motid.split("!");
     if (splitted != null) {
     if (splitted!=null) {
         if (splitted.length > 1) {
         if (splitted.length > 1) {
             var return_val = ""
             var return_val = ""
             for (i = 0; i < splitted.length; i++) {
             for (i = 0; i < splitted.length; i++) {
                 if (splitted[i].toString().indexOf("JASPAR_motif") >= 0) {
                 if (splitted[i].toString().indexOf("JASPAR motif") >= 0) {
                     return_val = '<a href=\"/5/sstar/' + splitted[i] + '\"><img src=\"/5/sstar/seqlogo/jaspar/' + splitted[i].split(":")[1] + '.png"  class="ImageBorder"  alt="' + splitted[i] + '">' + '</a>' + return_val;
                     return_val = '<a href=\"/5/sstar/' + splitted[i] + '\"><img src=\"/5/sstar/seqlogo/jaspar/' + splitted[i].split(":")[1] + '.png"  class="ImageBorder"  alt="' + splitted[i] + '">' + '</a>' + return_val;
                 } else if (splitted[i].toString().indexOf("Swissregulon") >= 0) {
                 } else if (splitted[i].toString().indexOf("Swissregulon") >= 0) {
Line 109: Line 103:
             }
             }
         } else {
         } else {
             if (splitted[0].toString().indexOf("JASPAR_motif") >= 0) {
             if (splitted[0].toString().indexOf("JASPAR motif") >= 0) {
                 return_val = '<a href=\"/5/sstar/' + splitted[0] + '\"><img src=\"/5/sstar/seqlogo/jaspar/' + splitted[0].split(":")[1] + '.png"  class="ImageBorder"  alt="' + splitted[0] + '">' + '</a>' ;
                 return_val = '<a href=\"/5/sstar/' + splitted[0] + '\"><img src=\"/5/sstar/seqlogo/jaspar/' + splitted[0].split(":")[1] + '.png"  class="ImageBorder"  alt="' + splitted[0] + '">' + '</a>';
             } else if (splitted[0].toString().indexOf("Swissregulon") >= 0) {
             } else if (splitted[0].toString().indexOf("Swissregulon") >= 0) {


               /* return_val = '<a href=\"/5/sstar/' + splitted[0] + '\"><img src=\"/5/sstar/seqlogo/' + replaceAll(splitted[0].split(":")[1]," ","_") + '.png"  class="ImageBorder"  alt="' + splitted[0] + '">' + '</a>' ;*/
               /* return_val = '<a href=\"/5/sstar/' + splitted[0] + '\"><img src=\"/5/sstar/seqlogo/' + replaceAll(splitted[0].split(":")[1]," ","_") + '.png"  class="ImageBorder"  alt="' + splitted[0] + '">' + '</a>';*/
return_val = "";
return_val = "";
             }
             }
Line 128: Line 122:
  }
  }
                                 },
                                 },
                                 {"mData": "Description","sTitle": "Description"},  
                                 {data: "Description",title: "Description"},  
                                 {"mData": "PeakCount","sTitle": "#of peaks"}
                                 {data: "PeakCount",title: "#of peaks"}
                                 ]
                                 ]
} );
} );
var oTableTools = new TableTools( oTable, {"sSwfPath": "/5/sstar/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 );




Line 152: Line 142:
</html>
</html>


<table cellpadding="0" cellspacing="0" border="0" class="display" id="tf_table">   
<table cellpadding="0" cellspacing="0" border="0" class="stripe cell-border order-column compact" id="tf_table">   
</table>
</table>

Latest revision as of 10:04, 21 September 2021



Mouse transcription factors