aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Yan2014-08-21 20:59:36 +0000
committerLei Yan2014-08-21 20:59:36 +0000
commite7d484a2705a122894e438c8310b6727e7e292a6 (patch)
tree53853dd3565d0a259986239bbe9f17a6a41fcc46
parent7ff0dcda04dc853620bb5162180f18db596f1574 (diff)
downloadgenenetwork2-e7d484a2705a122894e438c8310b6727e7e292a6.tar.gz
Committer: Lei Yan <lei@penguin.uthsc.edu>
On branch master
-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 %}