Personal tools

Browse Transcription Factors mm9: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
Mouse transcription factors.
{{#vardefine:geneids_content|{{#ask:[[Category:EntrezGene]][[tax_id::10090]][[tf?::true]]
|?GeneID
|?Symbol
|?Description
|format=array
|headers=hide
|sort=Symbol
|order=DESC
|mainlabel=-
|sep=:
|propsep=/
|limit=
|manysep=<MANY>
|recordsep=<RCRD>
}}
}}
{{#vardefine:db_content}}
{{#arraydefine:geneids_array|{{#var:geneids_content}}|:}}
{{
  #loop: j
  | 0         
  | {{#arraysize:geneids_array}}
  | <nowiki/>
{{#vardefine:ID|{{#explode:{{#arrayindex:geneids_array| {{#var:j}} }}|/|0 }} }}
{{#vardefine:Symbol|{{#explode:{{#arrayindex:geneids_array| {{#var:j}} }}|/|1 }} }}
{{#vardefine:Description|{{#explode:{{#arrayindex:geneids_array| {{#var:j}} }}|/|2 }} }}
{{#vardefine:PeakCount|{{#ask: [[Category:FFCP]][[EntrezGene::{{#var:ID}}]]|format=count}}}}
 
{{#arraydefine: defined_array{{#var:j}} |{{#var:ID}}/{{#var:Symbol}}/{{#var:Description}}/{{#var:PeakCount}}}}
{{#vardefine:db_content|{{#arrayprint:defined_array{{#var:j}} }}:{{#var:db_content}}  }}
 
}}
==Mouse transcription factors==




Line 12: Line 44:


<script type="text/javascript">
<script type="text/javascript">
var content = "";
var m_data = {};
m_data.content = [];
$(document).ready(function() {
$(document).ready(function() {
var oTable= $('.tf_table').dataTable( {
content= "</html>{{#var:db_content}}<html>";
                 "iDisplayLength": 25,
var content_array = content.split(":");
"aLengthMenu": [[25, 100, -1], [25, 100, "All"]],
                for(i=0;i<content_array.length-1;i++){
"aaSorting": [[1, "asc"]],
                var temp = content_array[i];
"aoColumnDefs": [{"bSortable": false, "aTargets": ["_all"] }]
                var temp_array =temp.split("/");
                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]});
               
                }
var oTable = $('#tf_table').dataTable( {
                "bProcessing": true,
                 "iDisplayLength":25,
                "aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
                "bScrollCollapse": true,
"bPaginate": true,
"bFilter": true,
"bInfo": true,
                "bJQueryUI": true,
                "aaSorting": [[ 1, "asc" ]],
                "aaData": m_data.content,
 
                "aoColumns":[
                                {"mData": "EntrezGene","sTitle": "EntrezGene"},
                                {"mData": "Symbol","sTitle": "Symbol"},
                                {"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 );
$('#export_tool').before( oTableTools.dom.container );
Line 26: Line 83:
<span id="export_tool"></span>
<span id="export_tool"></span>
</html>
</html>
 
<table cellpadding="0" cellspacing="0" border="0" class="display" id="tf_table"> 
{{#ask:[[Category:EntrezGene]][[tax_id::10090]][[tf?::true]]|mainlabel=EntreGene ID|?symbol|?description|format=ttable|class=tf_table|searchlabel=|limit=1400}}
</table>

Revision as of 17:44, 4 October 2013


Mouse transcription factors