Template:Coexpression clustersTest: Difference between revisions
From FANTOM5_SSTAR
(Created page with "{{Loading|loadingimage=sprites.gif}}<html> <script type="text/javascript" src="/5/sstar/rb_js/html5button/datatables.min.js"></script> <script type="text/javascript" src="/5/s...") |
mNo edit summary |
||
(22 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
}); | }); | ||
// FFCP list end | // FFCP list end | ||
if($('.pathway_enrichment').size()>0){ | if($('.pathway_enrichment').size()>0) { | ||
// Pathway enrichment analysis start | // Pathway enrichment analysis start | ||
var pathway_enrichment_table =$('.pathway_enrichment'). | var pathway_enrichment_table =$('.pathway_enrichment').DataTable({ | ||
dom: 'Blfrtip', | |||
buttons: ['copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5'], | |||
scrollY: "300px", | |||
scrollCollapse: true, | |||
pageLength: 10, | |||
lengthMenu: [[10, 50, -1], [10, 50, "All"]], | |||
order: [[1,'asc']], | |||
columnDefs: [{render: function ( data, type, row, meta ) { | |||
var name = data.split(":"); | |||
var name = | |||
if(name[0].indexOf("KEGG") != -1){ | if(name[0].indexOf("KEGG") != -1){ | ||
return "<a href=\"http://www.genome.jp/dbget-bin/www_bget?pathway:map"+name[1]+"\">"+name[0]+"</a>"; | return "<a href=\"http://www.genome.jp/dbget-bin/www_bget?pathway:map"+name[1]+"\">"+name[0]+"</a>"; | ||
Line 49: | Line 48: | ||
return name[0]; | return name[0]; | ||
} | } | ||
}, | }, targets: [ 4 ]}, { type: "numeric", targets: [0,1], render: function ( data, type, row, meta ) { | ||
var num = | var num =data; | ||
return exp_converter(num,2,"e") ; | return exp_converter(num,2,"e") ; | ||
} }] | } }] | ||
}); | }); | ||
} | } | ||
Line 65: | Line 60: | ||
var gostat_on_coexpression_clusters_flag="</html>{{{gostat_on_coexpression_clusters}}}<html>"; | var gostat_on_coexpression_clusters_flag="</html>{{{gostat_on_coexpression_clusters}}}<html>"; | ||
//check if this variable exist ,if not then creation of table and export tool causes error | //check if this variable exist ,if not then creation of table and export tool causes error | ||
if(gostat_on_coexpression_clusters_flag.indexOf("{{{") == -1) { | if(gostat_on_coexpression_clusters_flag.indexOf("{{{") == -1) { | ||
// GOstat results table start | // GOstat results table start | ||
var oTable = $('#gostat_table'). | var oTable = $('#gostat_table').DataTable({ | ||
dom: 'lfrtip', | |||
scrollY: "300px", | |||
scrollCollapse: true, | |||
pageLength: 10, | |||
lengthMenu: [[10, 50, -1], [10, 50, "All"]], | |||
order: [[0,'asc']], | |||
columnDefs: [{type: "numeric", targets: [2], | |||
render: function ( data, type, row, meta ) { | |||
var num =data; | |||
return exp_converter(num,2,"e") ; | |||
} }] | } }] | ||
}); | }); | ||
} | } | ||
// GOstat results table end | // GOstat results table end | ||
// sample ontology enrichment list start | // sample ontology enrichment list start | ||
var enrichment_list_cl_table = $('#enrichment_list_cl'). | var enrichment_list_cl_table = $('#enrichment_list_cl').DataTable({ | ||
dom: 'lfrti', | |||
scrollY: "300px", | |||
scrollCollapse: true, | |||
pageLength: -1, | |||
lengthMenu: [[10, 50, -1], [10, 50, "All"]], | |||
columnDefs: [{ orderable: false, targets: [ 0 ] }, { type: "numeric", targets: [1] }, { width: "50pt", targets: [ 1 ] }], | |||
order: [[ 1, "asc" ]] | |||
}); | }); | ||
var enrichment_list_uberon_table = $('#enrichment_list_uberon'). | var enrichment_list_uberon_table = $('#enrichment_list_uberon').DataTable({ | ||
dom: 'lfrti', | |||
scrollY: "300px", | |||
scrollCollapse: true, | |||
pageLength: -1, | |||
lengthMenu: [[10, 50, -1], [10, 50, "All"]], | |||
columnDefs: [{ orderable: false, targets: [ 0 ] }, { type: "numeric", targets: [1] }, { width: "50pt", targets: [ 1 ] }], | |||
order: [[ 1, "asc" ]] | |||
}); | }); | ||
Line 118: | Line 103: | ||
var enrichment_list_disease_table= $('#enrichment_list_doid'). | var enrichment_list_disease_table= $('#enrichment_list_doid').DataTable({ | ||
dom: 'lfrti', | |||
scrollY: "300px", | |||
scrollCollapse: true, | |||
pageLength: -1, | |||
lengthMenu: [[10, 50, -1], [10, 50, "All"]], | |||
columnDefs: [{ orderable: false, targets: [ 0 ] }, { type: "numeric", targets: [1] }, { width: "50pt", targets: [ 1 ] }], | |||
order: [[ 1, "asc" ]] | |||
}); | }); | ||
Line 141: | Line 124: | ||
} | } | ||
var tfbs_overexpression_table = $('#tfbs_overexpression_table'). | var tfbs_overexpression_table = $('#tfbs_overexpression_table').DataTable({ | ||
dom: 'Blfrtip', | |||
buttons: ['copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5'], | |||
scrollY: "300px", | |||
scrollCollapse: true, | |||
pageLength: 10, | |||
lengthMenu: [[10, 50, -1], [10, 50, "All"]], | |||
data: data, | |||
columns: [{ title: "Motifs", width: "200pt", render: function ( data, type, row, meta ) {var elem = data.split("_"); return "<a href=\"/5/sstar/Novel_motif:"+elem[0].replace('motif', '')+"\">"+data+"</a>";}},{ title: "-log10(p-value)", type: "numeric",render: function ( data, type, row, meta ) { | |||
var num =data; | |||
var num = | |||
var num_as_number=Number(num); | var num_as_number=Number(num); | ||
return num_as_number.toFixed(2) ; | return num_as_number.toFixed(2) ; | ||
}}], | }}], | ||
order: [[ 1, "desc" ]] | |||
}); | }); | ||
var tfbs_overexpression_jaspar_table= $('#tfbs_overexpression_jaspar').DataTable({ | |||
dom: 'Blfrtip', | |||
buttons: ['copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5'], | |||
scrollY: "300px", | |||
var tfbs_overexpression_jaspar_table= $('#tfbs_overexpression_jaspar'). | scrollCollapse: true, | ||
pageLength: 10, | |||
lengthMenu: [[10, 50, -1], [10, 50, "All"]], | |||
columnDefs: [{ width: "200pt", render: function ( data, type, row, meta ) {return "<a href=\"/5/sstar/JASPAR_motif:"+data+"\">"+data+"</a>";}, targets: [ 0 ] }, {type: "numeric", targets: [ 1 ],render: function ( data, type, row, meta ) { | |||
var num =data; | |||
var num = | |||
var num_as_number=Number(num); | var num_as_number=Number(num); | ||
return num_as_number.toFixed(2) ; | return num_as_number.toFixed(2) ; | ||
} }], | } }], | ||
order: [[ 1, "desc" ]] | |||
}); | }); | ||
// tfbs results table end | // tfbs results table end | ||
// tf chipseq results table start | // tf chipseq results table start | ||
if($('#tf_chipseq_enrich')[0]){ | if($('#tf_chipseq_enrich')[0]){ | ||
var tfbs_chipseq_enrich_table=$('#tf_chipseq_enrich'). | var tfbs_chipseq_enrich_table=$('#tf_chipseq_enrich').DataTable({ | ||
dom: 'Blfrtip', | |||
buttons: ['copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5'], | |||
scrollY: "300px", | |||
scrollCollapse: true, | |||
pageLength: 10, | |||
lengthMenu: [[10, 50, -1], [10, 50, "All"]], | |||
order: [[4,'asc']], | |||
columnDefs: [{render: function ( data, type, row, meta ) {var elem = data.split("#"); return "<a href=\"/5/sstar/EntrezGene:"+elem[1]+"\">"+elem[0]+"</a>";}, targets: [ 0 ]}, { width: "150px", type: "numeric", targets: [2],render: function ( data, type, row, meta ) { | |||
var num =data; | |||
var num = | |||
return exp_converter(num,2,"e") ; | return exp_converter(num,2,"e") ; | ||
} },{ | } },{ type: "numeric", targets: [3],render: function ( data, type, row, meta ) { | ||
var num = | var num =data; | ||
return exp_converter(num,2,"e") ; | return exp_converter(num,2,"e") ; | ||
} },{ | } },{type: "numeric", targets: [4],render: function ( data, type, row, meta ) { | ||
var num = | var num =data; | ||
return exp_converter(num,2,"e") ; | return exp_converter(num,2,"e") ; | ||
}}] | }}] | ||
}); | }); | ||
} | } | ||
// tf chipseq results table end | // tf chipseq results table end | ||
Line 224: | Line 194: | ||
== Phase1 CAGE Peaks == | == Phase1 CAGE Peaks == | ||
{{#ask:[[Category:FFCP]][[FFCP_PHASE2:+]][[Species::Human (Homo sapiens)]][[Coexpression_cluster_id::{{{id}}}]]|?Short_description|format=ttable|class=ffcp_list stripe cell-border order-column compact|limit=20000}} | |||
{{#ask:[[Category:FFCP]][[FFCP_PHASE2:+]][[Species::Human (Homo sapiens)]][[Coexpression_cluster_id::{{{id}}}]]|?Short_description|format=ttable|class=ffcp_list|limit=20000}} | |||
<br> | <br> | ||
Line 236: | Line 205: | ||
---- | ---- | ||
{{#if:{{{pathway_enrichment|}}}|<span id="pathway_enrichment_table_export_tool"></span> | {{#if:{{{pathway_enrichment|}}}|<span id="pathway_enrichment_table_export_tool"></span> | ||
<table class="pathway_enrichment"><html><thead></html> | <table class="pathway_enrichment stripe cell-border order-column compact"><html><thead></html> | ||
<tr><th>p.value</th><th>FDR</th><th>nGenes</th><th>nPathway</th><th>Name</th></tr> | <tr><th>p.value</th><th>FDR</th><th>nGenes</th><th>nPathway</th><th>Name</th></tr> | ||
<html></thead><tbody></html> | <html></thead><tbody></html> | ||
Line 253: | Line 222: | ||
|Human (Homo sapiens)= | |Human (Homo sapiens)= | ||
{{#ifeq:{{#sub:{{{gostat_on_coexpression_clusters}}}|0|2}}|GO|<span id="gostat_table_export_tool"></span> | {{#ifeq:{{#sub:{{{gostat_on_coexpression_clusters}}}|0|2}}|GO|<span id="gostat_table_export_tool"></span> | ||
<table id="gostat_table"><html><thead></html><tr><th>GO ID</th><th>GO name</th><th>FDR corrected p-value</th></tr><html></thead><tbody></html> | <table id="gostat_table" class="stripe cell-border order-column compact"><html><thead></html><tr><th>GO ID</th><th>GO name</th><th>FDR corrected p-value</th></tr><html></thead><tbody></html> | ||
<tr> | <tr> | ||
{{#arraymap:{{{gostat_on_coexpression_clusters}}}|$|$ | {{#arraymap:{{{gostat_on_coexpression_clusters}}}|$|$ | ||
Line 283: | Line 252: | ||
{{#if:{{{ontology_enrichment_celltype}}}| | {{#if:{{{ontology_enrichment_celltype}}}| | ||
<div style="float:left;width:33%;"> | <div style="float:left;width:33%;"> | ||
<table id="enrichment_list_cl"><caption class="table_title">Cell Type</caption><html><thead></html> | <table id="enrichment_list_cl" class="stripe cell-border order-column compact"><caption class="table_title">Cell Type</caption><html><thead></html> | ||
<tr><th>Ontology term</th><th>p-value</th><th>n</th></tr> | <tr><th>Ontology term</th><th>p-value</th><th>n</th></tr> | ||
<html></thead><tbody></html> | <html></thead><tbody></html> | ||
Line 293: | Line 262: | ||
}}{{#if:{{{ontology_enrichment_uberon}}}| | }}{{#if:{{{ontology_enrichment_uberon}}}| | ||
<div style="float:left;width:33%;"> | <div style="float:left;width:33%;"> | ||
<table id="enrichment_list_uberon"><caption class="table_title">Uber Anatomy</caption><html><thead></html> | <table id="enrichment_list_uberon" class="stripe cell-border order-column compact"><caption class="table_title">Uber Anatomy</caption><html><thead></html> | ||
<tr><th>Ontology term</th><th>p-value</th><th>n</th></tr> | <tr><th>Ontology term</th><th>p-value</th><th>n</th></tr> | ||
<html></thead><tbody></html>{{#arraymap:{{{ontology_enrichment_uberon}}}|;|$ | <html></thead><tbody></html>{{#arraymap:{{{ontology_enrichment_uberon}}}|;|$ | ||
Line 302: | Line 271: | ||
}}{{#if:{{{ontology_enrichment_disease}}}| | }}{{#if:{{{ontology_enrichment_disease}}}| | ||
<div style="float:left;width:33%;"> | <div style="float:left;width:33%;"> | ||
<table id="enrichment_list_doid"><caption class="table_title">Disease</caption><html><thead></html> | <table id="enrichment_list_doid" class="stripe cell-border order-column compact"><caption class="table_title">Disease</caption><html><thead></html> | ||
<tr><th>Ontology term</th><th>p-value</th><th>n</th></tr> | <tr><th>Ontology term</th><th>p-value</th><th>n</th></tr> | ||
<html></thead><tbody></html>{{#arraymap:{{{ontology_enrichment_disease}}}|;|$ | <html></thead><tbody></html>{{#arraymap:{{{ontology_enrichment_disease}}}|;|$ | ||
Line 323: | Line 292: | ||
---- | ---- | ||
{{Fontsize|3|Novel motifs}}{{#if:{{{tfbs_overrepresentation_for_novel_motifs}}} | {{Fontsize|3|Novel motifs}}{{#if:{{{tfbs_overrepresentation_for_novel_motifs}}} | ||
|<span id="tfbs_overexpression_table_export_tool"></span><table id="tfbs_overexpression_table"></table> | |<span id="tfbs_overexpression_table_export_tool"></span><table id="tfbs_overexpression_table" class="stripe cell-border order-column compact"></table> | ||
|No results for this section | |No results for this section | ||
}} <br><br> | }} <br><br> | ||
{{Fontsize|3|JASPAR motifs}}{{#if:Summary:{{{tfbs_overrepresentation_jaspar}}} | {{Fontsize|3|JASPAR motifs}}{{#if:Summary:{{{tfbs_overrepresentation_jaspar}}} | ||
|<span id="tfbs_overexpression_jaspar_table_export_tool"></span><table id="tfbs_overexpression_jaspar"><html><thead></html> | |<span id="tfbs_overexpression_jaspar_table_export_tool"></span><table id="tfbs_overexpression_jaspar" class="stripe cell-border order-column compact"><html><thead></html> | ||
<tr><th>Motifs</th><th>-log10(p-value)</th></tr><html></thead><tbody></html> | <tr><th>Motifs</th><th>-log10(p-value)</th></tr><html></thead><tbody></html> | ||
<tr><td> | <tr><td> | ||
Line 346: | Line 315: | ||
{{#if: {{#pos:{{{tf_chipseq_enrich}}}|;}} | {{#if: {{#pos:{{{tf_chipseq_enrich}}}|;}} | ||
|(#promoters = Number of promoters in this coexpression cluster that have ChIP signal of the TF)<span id="tf_chipseq_enrich_table_export_tool"></span> | |(#promoters = Number of promoters in this coexpression cluster that have ChIP signal of the TF)<span id="tf_chipseq_enrich_table_export_tool"></span> | ||
<table id="tf_chipseq_enrich"><html><thead></html><tr><th>TF</th><th>#promoters</th><th>Enrichment</th><th>p-value</th><th>q-value</th></tr><html></thead><tbody></html> | <table id="tf_chipseq_enrich" class="stripe cell-border order-column compact"><html><thead></html><tr><th>TF</th><th>#promoters</th><th>Enrichment</th><th>p-value</th><th>q-value</th></tr><html></thead><tbody></html> | ||
{{#arraymap:{{{tf_chipseq_enrich}}}|!|$ | {{#arraymap:{{{tf_chipseq_enrich}}}|!|$ | ||
|{{#set:tf_chipseq_enrich={{#explode:$|#|1}}}}<tr><td>{{#replace:{{#replace:$|;|</td><td>}}|:|</td><td>}}</td></tr> | |{{#set:tf_chipseq_enrich={{#explode:$|#|1}}}}<tr><td>{{#replace:{{#replace:$|;|</td><td>}}|:|</td><td>}}</td></tr> | ||
Line 366: | Line 335: | ||
data.push([ffsample[i1],values[i1]]); | data.push([ffsample[i1],values[i1]]); | ||
} | } | ||
var coexpression_dpi_cluster_scores_median_table= $('#coexpression_dpi_cluster_scores_median_table').DataTable({ | |||
var coexpression_dpi_cluster_scores_median_table= $('#coexpression_dpi_cluster_scores_median_table'). | dom: 'Blfrtip', | ||
buttons: ['copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5'], | |||
scrollY: "300px", | |||
scrollCollapse: true, | |||
pageLength: 10, | |||
lengthMenu: [[10, 50, -1], [10, 50, "All"]], | |||
data: data, | |||
columns: [{ title: "FF samples", | |||
orderable: false, | |||
render: function ( data, type, row, meta ) { | |||
var id = data; | |||
var elems = id.split('.'); | var elems = id.split('.'); | ||
return sReturn = "<a href=\"/5/sstar/FF:"+elems[2]+"\">"+decodeURIComponent(elems[0])+" "+elems[1]+"</a>"; | |||
} | |||
}, | |||
{ title: "Score", | |||
}}], | type: "numeric", | ||
render: function ( data, type, row, meta ) { | |||
var num =data; | |||
return num.toFixed(2) ; | |||
} | |||
}], | |||
order: [[ 1, "desc" ]] | |||
}); | |||
}); | }); | ||
</script> | |||
<table id="coexpression_dpi_cluster_scores_median_table" class="stripe cell-border order-column compact"></table> | |||
</script>< | |||
</html> | </html> | ||
{{#array_recordprops:coexpression_dpi_cluster_scores_median | {{#array_recordprops:coexpression_dpi_cluster_scores_median |
Latest revision as of 17:22, 20 February 2018
Full id: {{{full_id}}}
Phase1 CAGE Peaks
Enriched pathways on this co-expression cluster<b>Summary:</b><br>Canonical pathway gene sets were compiled from Reactome, Wikipathways and KEGG. For the major signaling pathways, the transcriptionally-regulated genes (downstream targets) were obtained from Netpath. Combined, the canonical pathways and downstream targets totaled 489 human gene sets. The corresponding M. musculus gene sets were inferred by homology using the HomoloGene database. Enrichment for each of the canonical 489 pathways and gene sets included in the co-expression cluster was assessed by the hypergeometric probability. The resulting P values were also then adjusted by the Benjamini-Hochberg method for multiple comparisons.<br><b>Analyst: </b>Emmanuel Dimont<br><br>link to source dataset<br>data
No results for this coexpression
Enriched Gene Ontology terms on this co-expression cluster<b>Summary:</b> Results for GOStat analysis on co-expressed clusters. Each cluster with promoters mapping to at least two different genes was analysed with GOStat (PMID: 14962934) with default parameter. <br><b>Analyst:</b> Erik Arner<br><br>link to source dataset<br>data
No results for this coexpression
Enriched sample ontology terms on this co-expression cluster<b>Summary:</b>To summarize promoter activities (expression profile of a TSS region) across ~1000 samples, we performed enrichment analysis based on FANTOM5 Sample Ontology (FF ontology). The question here is “in which type of samples the promoter is more active”. To answer this question, we compared expressions (TPMs) in the samples associated with a sample ontology term and the rest of the samples by using the Mann-Whitney rank sum test. To summarize ontologies enriched in this co-expression cluster, we ran the same analysis on an averaged expression profile of all promoters that make up. <b>Analyst:</b> Hideya Kawaji <br><br>links to source dataset<br><br>cell_data<br>uberon_data<br>disease_data<br>
Ontology term | p-value | n |
---|
Ontology term | p-value | n |
---|
Ontology term | p-value | n |
---|
ENCODE TF ChIP-seq peak enrichment analysis<b>Summary:</b> For each TF and each co-expression cluster, the number of promoters with ENCODE TF ChIP signal was compared with the rest of promoters from the robust set using Fisher's exact test. Clusters with significant ChIP enrichment (q <= 0.05) after Benjamini-Hochberg correction were retained. <br><b>Analyst:</b> Erik Arner<br><br>link to source dataset<br><br>data
No analysis results for this cluster
Relative expression of the co-expression cluster<b>Summary:</b>Co-expression clusters are compared against FANTOM5 samples to obtain relative expression. <br><b>Analyst:</b>NA<br><br>link to data source<br> data
Expression error: Unrecognized punctuation character "{".