{{ title }}

Date: {{ date }} Modality: {{ modality }} Samples: {{ n_samples }} Total spots/cells: {{ n_spots_total | int }}
{{ n_pass }}
Samples passed
{{ n_fail }}
Samples failed
{{ n_spots_total | int }}
Total spots/cells
{{ median_genes }}
Median genes (cohort)

Per-Sample QC Metrics

{% if has_mt %}{% endif %} {% for row in table_rows %} {% if has_mt %} {% endif %} {% endfor %}
Sample Status n_spots Median counts Median genes Genes detectedMedian %MT%MT > 5%Fail reasons
{{ row.sample }} {% if row.qc_pass %}PASS{% else %}FAIL{% endif %} {{ row.n_spots }} {{ "%.1f" | format(row.total_counts_median) if row.total_counts_median is not none else "N/A" }} {{ "%.1f" | format(row.n_genes_median) if row.n_genes_median is not none else "N/A" }} {{ row.n_genes_detected if row.n_genes_detected is not none else "N/A" }}{{ "%.1f%%" | format(row.pct_mt_median) if row.pct_mt_median is not none else "N/A" }} {{ "%.1f%%" | format(row.pct_mt_gt5 * 100) if row.pct_mt_gt5 is not none else "N/A" }}{{ row.qc_fail_reasons if row.qc_fail_reasons else "" }}
{% if n_fail > 0 %}

Failed Samples

{% endif %}

QC Plots

Distribution Histograms

{% if plots.qc_2x2_pre %} QC 2x2 Pre-filter {% endif %}
QC 2x2 Pre-filter
{% if plots.qc_2x2_post %} QC 2x2 Post-filter
QC 2x2 Post-filter
{% else %}
Post-filter data not provided
{% endif %}

Violin Distributions

{% if plots.violin_pre %} QC Violin Pre-filter {% endif %}
QC Violin Pre-filter
{% if plots.violin_post %} QC Violin Post-filter
QC Violin Post-filter
{% else %}
Post-filter data not provided
{% endif %}

Mitochondrial Content

{% if plots.pct_mt %} % Mitochondrial per sample {% endif %}
% Mitochondrial per sample
 

Cross-Sample Comparison (Bar)

{% if plots.comparison_bar %} Sample comparison (linear) {% endif %}
Cross-sample comparison (linear)
{% if plots.comparison_bar_log %} Sample comparison (log10) {% endif %}
Cross-sample comparison (log10 scale)

Per-Sample Distributions (Violin)

{% if plots.violin_grouped %} Sample violin (linear) {% endif %}
Per-sample violin (linear)
{% if plots.violin_grouped_log %} Sample violin (log10) {% endif %}
Per-sample violin (log10 scale)

Sample QC Scatter Matrix

{% if plots.scatter_matrix %} QC scatter matrix {% endif %}
Sample QC scatter matrix