Personal tools

Browse samples mm9: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Loading|loadingimage=sprites.gif}}Details of profiled samples (incl. primary cells, cell lines,tissues and time courses)
{{Loading|loadingimage=sprites.gif}}Details of profiled samples (incl. primary cells, cell lines, and developmental)


<html>
<html>
Line 14: Line 14:
"iDisplayLength": 25,
"iDisplayLength": 25,
"aLengthMenu": [[25, 100, 500, -1], [25, 100, 500, "All"]],
"aLengthMenu": [[25, 100, 500, -1], [25, 100, 500, "All"]],
"aoColumnDefs": [{ "sWidth": "100px", "aTargets": [0] }, { "bVisible": false, "aTargets": [ 3 ] }],
"aoColumnDefs": [{ "sWidth": "100px", "aTargets": [0] },{ "bVisible": true, "aTargets": [ 2 ] }, { "bVisible": false, "aTargets": [ 3 ] }]
});
});


Line 21: Line 21:
$('#export_tool').before( oTableTools.dom.container );
$('#export_tool').before( oTableTools.dom.container );


/**/
$('input[type=checkbox]').click(function () {
$('input[type=checkbox]').click(function () {
if(this.name =="p1"){
if($("input[name='p1']").is(':checked')){
oTable.fnFilter( '^1$',3,true);
}else{
oTable.fnFilter("",3);
}
}else{
     selection = $.map($('input[type=checkbox]:checked'), function (element) {
     selection = $.map($('input[type=checkbox]:checked'), function (element) {
        if(element.name=="p1") return null;
         return element.value;
         else return element.value;
     });
     });
   
     clearFilters();
     clearFilters();
      
      
Line 42: Line 33:
                 function (settings, data, index) {
                 function (settings, data, index) {
                     for (var i=0; i < s.length; i++) {
                     for (var i=0; i < s.length; i++) {
                    var valu = s[i];
                         if (data[2] == s[i]) return true;
                      if(valu.match(/^\d+$/)){
                         if (data[3] == s[i]) return true;
 
                      }else{
                        if (data[2] == s[i]) return true;
                      }
                         
                     }
                     }
                     return false;
                     return false;
Line 57: Line 41:
     }
     }
   oTable.fnFilter("");
   oTable.fnFilter("");
}
});
});


Line 65: Line 48:
     $.fn.dataTableExt.afnFiltering = [];
     $.fn.dataTableExt.afnFiltering = [];
}
}


} );
} );
</script>
</script>
<input type="checkbox" name="p1" id="p1" name="p1" value="1"/><label for="1">Phase1 samples</label><br><br>
Details of profiled samples (incl. primary cells, cell lines,tissues and time courses)<br>
<b>Filter by sample category</b><br>
<b>Filter by sample category</b><br>
<div id="format">
<div id="format">
Line 78: Line 60:
<input type="checkbox" id="time_courses"    name="time_courses"    value="time courses" /><label for="time_courses">time courses</label>
<input type="checkbox" id="time_courses"    name="time_courses"    value="time courses" /><label for="time_courses">time courses</label>
</div>
</div>
<span id="export_tool"></span>
<span id="export_tool"></span>
</html>
</html>
{{#ask:[[Concept:FF_samples_withname]]|[[Sample_species::Mouse (Mus musculus)]]|mainlabel=FF ontology id|?Name|?Sample_category|?datafreeze_phase
{{#ask:[[Concept:FF_samples_withname]][[Sample_species::Mouse (Mus musculus)]][[datafreeze_phase::1]]|mainlabel=FF ontology id|?Name|?Sample_category
|format=ttable|class=ff_sample_list|limit=1100|searchlabel=}}
|format=ttable|class=ff_sample_list|limit=500|searchlabel=}}

Revision as of 12:00, 9 July 2014

Details of profiled samples (incl. primary cells, cell lines, and developmental)

Filter by sample category