Personal tools

Browse samples Macaque: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
(Created page with "{{Loading|loadingimage=sprites.gif}}Details of profiled samples (tissue) <html> <script type="text/javascript" language="javascript" src="/5/sstar/rb_js/datatables/media/js/j...")
 
No edit summary
Line 1: Line 1:
{{Loading|loadingimage=sprites.gif}}Details of profiled samples (tissue)
{{Loading|loadingimage=sprites.gif}}Details of profiled samples (incl. tissue, primary cells)


<html>
<html>
<script type="text/javascript" language="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.min.js"></script>
<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";
</style>
</style>
<script type="text/javascript">
<script type="text/javascript">


$(document).ready(function() {
$(document).ready(function() {
     var oTable =  $('.ff_sample_list').dataTable({
     var oTable =  $('.ff_sample_list').DataTable({
"iDisplayLength": 25,
        dom: 'Blfrtip',
"aLengthMenu": [[25, 100, 500, -1], [25, 100, 500, "All"]],
        lengthMenu: [[25, 100, 500, -1], [25, 100, 500, "All"]],
"aoColumnDefs": [{ "sWidth": "100px", "aTargets": [0] },{ "bVisible": true, "aTargets": [2] }]
        buttons: ['copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5'],
});
        columns: [
 
{ title: "FF ontology id", width: "100px" },
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"} ]});
            { title: "Name"},
 
            { title: "Sample category", visible: true }
$('#export_tool').before( oTableTools.dom.container );
        ]
 
});
$('input[type=checkbox]').click(function () {
$('input[type=checkbox]').on('click',function(){
    selection = $.map($('input[type=checkbox]:checked'), function (element) {
if($(this).prop('checked')){s=$(this).val();}else {s=""}
        return element.value;
oTable.column(2).search(s).draw();
    });
});
   
    clearFilters();
   
    if (selection.length) {
      (function (s) {
            $.fn.dataTableExt.afnFiltering.push(
                function (settings, data, index) {
                    for (var i=0; i < s.length; i++) {
                        if (data[2] == s[i]) return true;
                    }
                    return false;
                }
            );
        })(selection);
    }
  oTable.fnFilter("");
});
 
 
function clearFilters() {
    //dataTable.fnFilter("");
    $.fn.dataTableExt.afnFiltering = [];
}
 
 
 
} );
} );
</script>
</script>
<!--
<b>Filter by sample category</b><br>
<b>Filter by sample category</b><br>
<div id="format">
<div id="format">
Line 60: Line 30:
     <input type="checkbox" id="tissues"      name="tissues"      value="tissues" /><label for="tissues">tissues</label>
     <input type="checkbox" id="tissues"      name="tissues"      value="tissues" /><label for="tissues">tissues</label>
</div>
</div>
-->
 
<span id="export_tool"></span>
<span id="export_tool"></span>


</html>
</html>
{{#ask:[[Concept:FF_samples_withname]][[Sample_species::Rhesus macaque]]|mainlabel=FF ontology id|?Name|?Sample_category
{{#ask:[[Concept:FF_samples_withname]][[Sample_species::Rhesus macaque]]|mainlabel=FF ontology id|?Name|?Sample_category
|format=ttable|class=ff_sample_list|limit=2000|searchlabel=}}
|format=ttable|class=ff_sample_list stripe cell-border order-column compact|limit=2000|searchlabel=}}

Revision as of 17:13, 6 February 2018

Details of profiled samples (incl. tissue, primary cells)

Filter by sample category

FF ontology idNameSample category
10384-105H6spinal cord, adult, donor8633tissues
10385-105H7occipital cortex, adult, donor8633tissues
10386-105H8thalamus, adult, donor8633tissues
10387-105H9globus pallidus, adult, donor8633tissues
10388-105I1locus coeruleus, adult, donor8633tissues
10389-105I2substantia nigra, adult, donor8633tissues
10390-105I3caudate nucleus, adult, donor8633tissues
10391-105I4medulla oblongata, adult, donor8633tissues
10392-105I5cerebellum, adult, donor8633tissues
10393-105I6medial frontal gyrus, adult, donor8633tissues
10394-105I7putamen, adult, donor8633tissues
10395-105I8medial temporal gyrus, adult, donor8633tissues
10396-105I9hippocampus, adult, donor8633tissues
14609-159A1parietal gyrus, adult, donor8633tissues
14610-159A2amygdala, adult, donor8633tissues