{% extends "layout.html" %} {% block in_head %} {# include LocusZoom vendor bundle to get d3 #} {% if show_correlations %} {# TODO: Better dependency management #} {% endif %} {% endblock %} {% block contained %} {% for key in ['num_cases', 'num_controls', 'num_samples'] %} {% if key in pheno %} {% if '<' in pheno[key]|string %} {% elif 0 < pheno[key]|int < 200 %} {% endif %} {% endif %} {% endfor %}

{% include "pheno/h1.html" %}

{% if 'num_cases' in pheno %}

{{ pheno.num_cases }} cases, {{ pheno.num_controls }} controls

{% elif 'num_samples' in pheno %}

{{ pheno.num_samples }} samples

{% endif %} {% if pheno.category %}

Category: {{ pheno.category}}

{% endif %} {% include "pheno/info.html" %}
{% if config.DOWNLOAD_PHENO_SUMSTATS_BUTTON %} Download summary statistics {% endif %}

Top Loci:

Variant Nearest Gene(s) MAF P-value

QQ plot:

(Genomic Control lambda calculated based on the 50th percentile (median), 10th percentile, 1st percentile, and 1/10th of a percentile)


{% if show_correlations %}

Correlated phenotypes for {% include "pheno/h1.html" %}

Genetically correlated traits are calculated using genome-wide association summary statistics via LD Score regression (LDSC).

{% endif %} {% endblock %}