diff options
Diffstat (limited to 'wqflask')
-rwxr-xr-x | wqflask/wqflask/templates/correlation_page.html | 20 |
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}}&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}}&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 %} |