Personal tools

Difference between revisions of "Browse samples Rat"

From FANTOM5_SSTAR

Jump to: navigation, search
(Created page with "{{Loading|loadingimage=sprites.gif}}Details of profiled samples (incl. tissue, primary cells) <html> <script type="text/javascript" language="javascript" src="/5/sstar/rb_js/...")
 
m
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
<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/jquery-1.7.1.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" 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/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>
Line 64: Line 36:
 
</html>
 
</html>
 
{{#ask:[[Concept:FF_samples_withname]][[Sample_species::Rattus norvegicus]]|mainlabel=FF ontology id|?Name|?Sample_category
 
{{#ask:[[Concept:FF_samples_withname]][[Sample_species::Rattus norvegicus]]|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=}}

Latest revision as of 03:45, 25 January 2019

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

Filter by sample category

FF ontology id Name Sample category
10009-101B8 Universal RNA - Rat Normal Tissues Biochain, pool1 tissues
11295-117A8 Rat hepatocytes, donor1 primary cells
11296-117A9 Rat Mesenchymal stem cells - bone marrow derived, donor1 primary cells
11300-117B4 Rat Aortic Smooth Muscle cells, donor1 primary cells
11372-118A4 Rat hepatocytes, donor2 primary cells
11373-118A5 Rat Mesenchymal stem cells - bone marrow derived, donor2 primary cells
11377-118A9 Rat Aortic Smooth Muscle cells, donor2 primary cells
11444-118I4 Rat hepatocytes, donor3 primary cells
11445-118I5 Rat Mesenchymal stem cells - bone marrow derived, donor3 primary cells
11449-118I9 Rat Aortic Smooth Muscle cells, donor3 primary cells
11481-119D5 Rat Aortic Smooth Muscle cells - differentiated, donor1 primary cells
11482-119D6 Rat Aortic Smooth Muscle cells - differentiated, donor2 primary cells
11483-119D7 Rat Aortic Smooth Muscle cells - differentiated, donor3 primary cells