{% comment %} Heatmap plot of gene expression panel Input: - id: prefix used in the identifiers of all elements - type: gene selection based on top 'markers' per metacell (default) or 'gene-lists' {% endcomment %} {% load static %} {% if type == "gene-lists" %} {% include "../modals/list_editor.html" with id="expression" type="gene_lists" %} {% endif %}
{% if type|default:"markers" == "markers" %}
{% elif type == "gene-lists" %}
{% include "../select/gene.html" with id=id name="gene_lists" hash=id limit=10 multiple="true" selected=query.gene_lists class=" " width="400px" %} {% endif %}
{% if type|default:"markers" == "markers" or query.genes %}
{% include "../plot_container.html" with id=id ratio="16/9" %}
{% elif type == "gene-lists" and not query.genes %}

Select genes to render heatmap.

{% endif %}