diff options
author | zsloan | 2022-04-19 20:26:45 +0000 |
---|---|---|
committer | zsloan | 2022-04-19 15:28:02 -0500 |
commit | 8ff92fc9630a3198fcb85f0663759703e14e2a19 (patch) | |
tree | 401e6a8ece625195fa4c5561e9f6d15cf0526ca8 | |
parent | e8d005b0a3dbe75acbe7c84435749a4da5ee92a4 (diff) | |
download | genenetwork2-8ff92fc9630a3198fcb85f0663759703e14e2a19.tar.gz |
Add scatterplot link for additive effect in mapping results
-rw-r--r-- | wqflask/wqflask/templates/mapping_results.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html index 97c6cb69..45e1b202 100644 --- a/wqflask/wqflask/templates/mapping_results.html +++ b/wqflask/wqflask/templates/mapping_results.html @@ -305,8 +305,12 @@ {% endif %} <td align="right">{{ marker.display_pos }}</td> {% if 'additive' in marker %} + {% if geno_db_exists == "True" %} + <td align="right"><a target"_blank" href="corr_scatter_plot?method=pearson&dataset_1={{ dataset.group.name }}Geno&dataset_2={{ dataset.name }}&trait_1={{ marker.name }}&trait_2={{ this_trait.name }}">{{ '%0.3f' | format(marker.additive|float) }}</a></td> + {% else %}} <td align="right">{{ '%0.3f' | format(marker.additive|float) }}</td> {% endif %} + {% endif %} {% if 'dominance' in marker and dataset.group.genetic_type != "riset" %} <td align="right">{{ '%0.2f' | format(marker.dominance|float) }}</td> {% endif %} |