diff options
author | zsloan | 2023-09-25 17:45:18 +0000 |
---|---|---|
committer | zsloan | 2023-09-25 17:45:18 +0000 |
commit | fccdf55409a5146de186e3d2424ebd23d751d326 (patch) | |
tree | a3025640aaf5321807488da38eee6d160be5f67f | |
parent | d14d8a804640bad4944d9d7e4fed7817132e7c6f (diff) | |
download | genenetwork2-fccdf55409a5146de186e3d2424ebd23d751d326.tar.gz |
Swap parameters for mapping scatterplot, since the genotype markers were being pulled from the dataid instead of the trait sample values
-rw-r--r-- | wqflask/wqflask/templates/mapping_results.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html index d40bb8c9..81101fed 100644 --- a/wqflask/wqflask/templates/mapping_results.html +++ b/wqflask/wqflask/templates/mapping_results.html @@ -420,7 +420,7 @@ 'data': null, 'render': function(data, type, row, meta) { {% if geno_db_exists == "True" %} - return '<a target"_blank" href="corr_scatter_plot?method=pearson&dataset_1={{ dataset.group.name }}Geno&dataset_2={{ dataset.name }}&trait_1=' + data.name + '&trait_2={{ this_trait.name }}&dataid={{ dataid }}">' + String(parseFloat(data.additive).toFixed(3)) + '</a>' + return '<a target"_blank" href="corr_scatter_plot?method=pearson&dataset_1={{ dataset.name }}&dataset_2={{ dataset.group.name }}Geno&trait_1={{ this_trait.name }}&trait_2=' + data.name + '&dataid={{ dataid }}">' + String(parseFloat(data.additive).toFixed(3)) + '</a>' {% else %} return String(parseFloat(data.additive).toFixed(3)) {% endif %} |