aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/mapping_results.html4
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 %}