Personal tools

Browse Transcription Factors mm9: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 39: Line 39:
<html>
<html>
<style type="text/css" title="currentStyle">
<style type="text/css" title="currentStyle">
@import "/resource_browser/rb_js/datatables/media/css/jquery.dataTables.css";
@import "/5/sstar/rb_js/datatables/media/css/jquery.dataTables.css";
                 @import "/resource_browser/rb_js/datatables/extras/TableTools/media/css/TableTools.css";
                 @import "/5/sstar/rb_js/datatables/extras/TableTools/media/css/TableTools.css";


.ImageBorder
.ImageBorder
Line 50: Line 50:


</style>
</style>
<script type="text/javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/5/sstar/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/ZeroClipboard.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="/resource_browser/rb_js/datatables/extras/TableTools/media/js/TableTools.js">
<script type="text/javascript" language="javascript" src="/5/sstar/rb_js/datatables/extras/TableTools/media/js/TableTools.js">
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
Line 69: Line 69:
                         if(temp_array[2].length> 0){ mot_id=temp_array[2];}else{mot_id="NA";}
                         if(temp_array[2].length> 0){ mot_id=temp_array[2];}else{mot_id="NA";}
                      
                      
                     m_data.content.push({EntrezGene:'<a href=/resource_browser/EntrezGene:'+temp_array[0]+'>'+temp_array[0]+'</a>',            Symbol:temp_array[1],MotifId:mot_id,Description:temp_array[3],PeakCount:temp_array[4]});
                     m_data.content.push({EntrezGene:'<a href=/5/sstar/EntrezGene:'+temp_array[0]+'>'+temp_array[0]+'</a>',            Symbol:temp_array[1],MotifId:mot_id,Description:temp_array[3],PeakCount:temp_array[4]});
                  
                  
                 }
                 }
Line 99: Line 99:
             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=\"/resource_browser/' + splitted[i] + '\"><img src=\"/resource_browser/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) {
                     /*return_val = '<a href=\"/resource_browser/'+ splitted[i] + '\"><img src=\"/resource_browser/seqlogo/' + replaceAll(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/' + replaceAll(splitted[i].split(":")[1]," ","_") + '.png"  class="ImageBorder"  alt="' + splitted[i] + '">' + '</a>' + return_val;*/
return_val = "";
return_val = "";
                 }
                 }
Line 110: Line 110:
         } else {
         } else {
             if (splitted[0].toString().indexOf("JASPAR_motif") >= 0) {
             if (splitted[0].toString().indexOf("JASPAR_motif") >= 0) {
                 return_val = '<a href=\"/resource_browser/' + splitted[0] + '\"><img src=\"/resource_browser/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=\"/resource_browser/' + splitted[0] + '\"><img src=\"/resource_browser/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 134: Line 134:
} );
} );


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"} ]});
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 );
$('#export_tool').before( oTableTools.dom.container );

Revision as of 13:49, 24 August 2015



Mouse transcription factors