aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Sloan2014-08-25 17:13:39 +0000
committerZachary Sloan2014-08-25 17:13:39 +0000
commit3b40b12293efbcd2b2575fc55f749b5415075425 (patch)
tree903fda738aca38825c0515bfc5cbbd56fcaaee23
parent7605d126bec2ea63dd36b7a786617d15901b4a1a (diff)
parente7d484a2705a122894e438c8310b6727e7e292a6 (diff)
downloadgenenetwork2-3b40b12293efbcd2b2575fc55f749b5415075425.tar.gz
Merge /home/lei/gene
-rwxr-xr-xwqflask/wqflask/templates/correlation_page.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/correlation_page.html b/wqflask/wqflask/templates/correlation_page.html
index fc5aca42..35b98c8e 100755
--- a/wqflask/wqflask/templates/correlation_page.html
+++ b/wqflask/wqflask/templates/correlation_page.html
@@ -61,6 +61,18 @@
<th>N Cases</th>
<th>Sample p(rho)</th>
{% endif %}
+ {% elif target_dataset.type == "Geno" %}
+ <th>Record ID</th>
+ <th>Location</th>
+ {% if corr_method == 'pearson' %}
+ <th>Sample r</th>
+ <th>N Cases</th>
+ <th>Sample p(r)</th>
+ {% else %}
+ <th>Sample rho</th>
+ <th>N Cases</th>
+ <th>Sample p(rho)</th>
+ {% endif %}
{% endif %}
</tr>
</thead>
@@ -71,7 +83,7 @@
<td><a href="/show_trait?trait_id={{trait.name}}&amp;dataset={{trait.dataset.name}}">{{ trait.name }}</a></td>
<td>{{ trait.symbol }}</td>
<td>{{ trait.description }} <br><br> <b>Aliases</b>: {{ trait.alias }}</td>
- <td>Chr{{ trait.chr }}: {{'%0.3f'|format(trait.mb) }}</td>
+ <td>Chr{{ trait.chr }}: {{'%0.6f'|format(trait.mb) }}</td>
<td>{{'%0.3f'|format(trait.mean)}}</td>
<td>{{'%0.3f'|format(trait.lrs)}}</td>
<td>Chr{{ trait.locus_chr }}: {{'%0.3f'|format(trait.locus_mb) }}</td>
@@ -89,6 +101,12 @@
<td><a target="_blank" href="corr_scatter_plot?dataset_1={{dataset.name}}&dataset_2={{trait.dataset.name}}&trait_1={{this_trait.name}}&trait_2={{trait.name}}">{{'%0.3f'|format(trait.sample_r)}}</a></td>
<td>{{ trait.num_overlap }}</td>
<td>{{'%0.3e'|format(trait.sample_p)}}</td>
+ {% elif target_dataset.type == "Geno" %}
+ <td><a href="/show_trait?trait_id={{trait.name}}&amp;dataset={{trait.dataset.name}}">{{ trait.name }}</a></td>
+ <td>Chr{{ trait.chr }}: {{'%0.6f'|format(trait.mb) }}</td>
+ <td><a target="_blank" href="corr_scatter_plot?dataset_1={{dataset.name}}&dataset_2={{trait.dataset.name}}&trait_1={{this_trait.name}}&trait_2={{trait.name}}">{{'%0.3f'|format(trait.sample_r)}}</a></td>
+ <td>{{ trait.num_overlap }}</td>
+ <td>{{'%0.3e'|format(trait.sample_p)}}</td>
{% endif %}
</tr>
{% endfor %}