{% comment %} Compare cell types Input: - id: prefix used in the identifiers of all elements {% endcomment %} {% load static %} {% with metric=query.metric|default:"samap" %}
{% include "../select/dataset.html" with id="cell-types" redirect="query" placeholder="Search..." prefix="" class="w-100" dataset=dataset2.slug anchor="cell-types" dataset_dict=compare_dataset_dict %}
{% if not dataset2 %}

Choose a dataset to compare.

{% elif dataset2 == dataset %}

Choose a dataset different than the current one to compare.

{% elif dataset2.species == dataset.species %}

Choose a dataset from a different species to compare.

{% else %}
{% include "../plot_container.html" with id=id ratio="16/9" %}
{% if query.plot == "heatmap" or metric == "aucell" %}
{% endif %}
{{ dataset.get_html_link }}
Select a cell type pair
VS
{{ dataset2.get_html_link }}
Select a cell type pair
Gene pairs
Select a cell-type pair in the plot to compare its aligned gene pairs.
{% endif %} {% endwith %}