{% extends 'base.html' %} {% block title %} {% if order %} {% if cluster %} {{cluster.name}} heatmap {% else %} Custom Heatmap {% endif %} {% else %} Create Custom Heatmap {% endif %} {% endblock %} {% block container %}
{% if order %} {% if cluster %}

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

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

View as: {{ ca.cluster_actions(cluster.id, exclude=["heatmap"]) }} {% if zlog == 1 %} (view raw or row-normalized) {% elif raw == 1 %} (view zlog-transformed or row-normalized) {% else %} (view raw or zlog-transformed) {% endif %}

View using InCHLib : here ( Experimental feature, still under development)

{% elif tree %}

Comparative Heatmap for {{ tree.label }}

{% elif family %}

Comparative Heatmap for {{ family.name }}

{% else %}

Heatmap

{% endif %} {% if zlog == 1 %}

(Values are log2 transformed ratios of a genes expression in a sample divided by the mean expression level)

{% elif raw == 1 %} {% if tree %}

(Showing raw values, normalize by row)

{% elif family %}

(Showing raw values, normalize by row)

{% else %}

(Showing raw values)

{% endif%} {% else %} {% if tree %}

(Values are normalized against highest expression of the row, show raw values)

{% elif family %}

(Values are normalized against highest expression of the row, show raw values)

{% else %}

(Values are normalized against highest expression of the row)

{% endif %} {% endif %}
{% for o in order %} {% endfor %} {% for p in profiles %} {% if p.sequence_id %} {% else %} {% endif %} {% for o in order %} {% endfor %} {% endfor %}
Gene
{{ o }}
{{ p.name }}{%- if p.shortest_alias %} ({{ p.shortest_alias }}){%- endif -%}
{{ p.name }}
{% if p['values'][o] != '-' %}{{ p['values'][o]|round(2) }}{% else %}-{% endif %}

Details

{% if zlog == 1 %}

Dark gray cells indicate values where the raw expression is zero (cannot be log-transformed). Blue cells indicate samples where the expression of the gene is below average and red cells indicate the gene is expressed above average in the sample. White cells are average.

{% elif raw == 1 %}

Raw expression values (TPM normalized), Green cells indicate low expression and red high. (Dark gray cells indicate missing values)

{% else %}

Expression values normalized per gene (using the maximum value, Green cells indicate low expression and red high. (Dark gray cells indicate missing values)

{% endif %}
{% else %}

Heatmap

Creates an expression heatmap (table with shaded cells) for a selected set of genes.

{{ form.csrf_token }} {{form.species_id(class_="form-control") }}
{{form.probes(class_="form-control") }}
{{form.options(class_="form-control") }}
{% if example and example.probes %} {% endif %}
{{ form2.csrf_token }} {{form2.comparable_probes(class_="form-control") }}
{{form2.comparable_options(class_="form-control") }}
{% if example2 and example2.comparable_probes %} {% endif %}
Help
  • You can generate a detailed heatmap for a single species (Default-tab) and a cross-species comparative heatmap (Comparative-tab)
  • First select the desired species (Default only)
  • Next add the genes to include in the heatmap (space, tab or line separated) in the corresponding box
  • Select if the heatmap should display raw values or normalized
  • Click Generate heatmap
{% endif %}
{% endblock %} {% block extrajs %} {% if order %} {% else %} {% if example and example.probes %} {% endif %} {% if example2 and example2.comparable_probes %} {% endif %} {% endif %} {% endblock %}