{% extends "./atlas.html" %} {% comment %} List metacell markers for a given species Features: - Form to set metacells and fold-change thresholds - Mockup table if no analyses is loaded - Metacell markers filtered as per the user input: - Fetches via REST API - Table for the data - Download data button - Copy link to clipboard button Input: - species: Species object from `models.py` - metacells: list of selected metacells - metacell_dict: dictionary with available metacells to populate the select input - query: query parameters to automatically filter metacells, fold-change values, etc. {% endcomment %} {% block title %} {{ dataset }} Markers {% endblock title %} {% block content %} {% load static %} {% include "../components/warning_alert.html" %}
Cell selection
{% include "../components/select/metacell.html" with metacell_dict=metacell_dict selected=query.metacells %}
Fold-change

{% if metacells %}
Selected metacells: None ({{ metacells|length }} in total)
{% load headings %} {% clipboard_button id='markers' %} {% data_dropdown id='markers' %}
{% else %} {% include "../components/mockup/table.html" %} {% endif %}
{% endblock content %}