{% extends 'base.html' %} {% block title %} {% if overview %} Clustering Methods Overview {% else %} {{ cluster.name }} details {% endif %} {% endblock %} {% block container %} {% import 'macros/pagination.html' as macro %} {% import 'macros/ajax_table.html' as ajax %}
{% if overview %}

Clustering Methods Overview

{% if cluster_methods|count > 1 %}
{% for c in cluster_methods %} {% endfor %}
ID Species Description Network Cluster count
{{ c.id }} {{ c.network_method.species.name }} {{ c.method }} {{ c.network_method.description }} {{ c.cluster_count }}
{% else %}

No co-expression clusters generated.

{% endif %} {% elif cluster %} {% import "macros/cluster_actions.html" as ca %}

Coexpression cluster: {{ cluster.name }} ({{ cluster.method.method }})

View as: {{ ca.cluster_actions(cluster.id, exclude=["table"]) }}



Average Expression Profile

Enriched GO Terms (corrected p-value < 0.05) (download table)
{% for go in go_enrichment %} {% if go.corrected_p_value <= 0.05 %} {% endif %} {% else %} {% endfor %}
ID Label % in cluster Enrichment log2 p-value Corrected p-value
{{ go.go.label }} {{ go.go.name }} {{ go.cluster_percentage|round(2) }}% ({{go.cluster_count}}/{{go.cluster_size}}) {{ go.enrichment|round(2) }} {{ go.p_value|round(6) }} {{ go.corrected_p_value|round(6) }}
No enriched GO-terms found
Enriched Clades (corrected p-value < 0.05) (download table)
{% for clade in cluster.clade_enrichment %} {% if clade.corrected_p_value <= 0.05 %} {% endif %} {% else %} {% endfor %}
Clade % in cluster Enrichment log2 p-value Corrected p-value Gene Family Method
{{ clade.clade.name }} {{ clade.cluster_percentage|round(2) }}% ({{clade.cluster_count}}/{{clade.cluster_size}}) {{ clade.enrichment|round(2) }} {{ clade.p_value|round(6) }} {{ clade.corrected_p_value|round(6) }} {{ clade.gene_family_method.method }}
No enriched Clades found
Similar Clusters (download table)
{% for sc in similar_clusters %} {% if sc.target_id == cluster.id %} {% else %} {% endif %} {% else %} {% endfor %}
Species Clustering Method Target Jaccard index Gene Family Method (for comparison) Actions
{{ sc.source.method.network_method.species.name }} {{ sc.source.method.method }} {{ sc.source.name }}{{ sc.target.method.network_method.species.name }} {{ sc.target.method.method }} {{ sc.target.name }}{{ sc.jaccard_index|round(3) }} {{ sc.gene_family_method.method }} Compare
No similar clusters found
{{ macro.pagination('Sequences', url_for('expression_cluster.expression_cluster_sequences', cluster_id=cluster.id), sequence_count, url_for('expression_cluster.expression_cluster_download', cluster_id=cluster.id), 'clusters' ) }} {{ ajax.ajax_table( 'InterPro Domains', url_for('expression_cluster.cluster_interpro_ajax', cluster_id=cluster.id), none, 'interpro_ajax' ) }} {{ ajax.ajax_table( 'GO Terms', url_for('expression_cluster.cluster_go_ajax', cluster_id=cluster.id), none, 'go_ajax' ) }} {{ ajax.ajax_table( 'Family Terms', url_for('expression_cluster.cluster_family_ajax', cluster_id=cluster.id), none, 'family_ajax' ) }}

{% endif %}
{% endblock %} {% block extrajs %} {% if cluster %} {% endif %} {% endblock %}