diff options
author | Frederick Muriuki Muriithi | 2022-06-20 10:20:53 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-06-20 11:20:21 +0300 |
commit | 42e7643d6bd2e3b26ca35a91c73bfd65e95bb386 (patch) | |
tree | 9fd44187f0a524bc2061356a12f3ab40e6641d13 | |
parent | 9e6e76e53c6c4664265e9040c05944237e052d93 (diff) | |
download | genenetwork2-42e7643d6bd2e3b26ca35a91c73bfd65e95bb386.tar.gz |
Simplify partial correlation method choices
- Have only `Pearson's r` and `Spearman's rho` as the available
choices for the partial correlations.
-rw-r--r-- | wqflask/wqflask/partial_correlations_views.py | 1 | ||||
-rw-r--r-- | wqflask/wqflask/templates/partial_correlations/pcorrs_select_operations.html | 12 |
2 files changed, 3 insertions, 10 deletions
diff --git a/wqflask/wqflask/partial_correlations_views.py b/wqflask/wqflask/partial_correlations_views.py index ce5e46e0..358a9d3b 100644 --- a/wqflask/wqflask/partial_correlations_views.py +++ b/wqflask/wqflask/partial_correlations_views.py @@ -139,6 +139,7 @@ def target_db_error(args, with_target_db: bool): def method_error(args): methods = ( + "pearson's r", "spearman's rho", "genetic correlation, pearson's r", "genetic correlation, spearman's rho", "sgo literature correlation", diff --git a/wqflask/wqflask/templates/partial_correlations/pcorrs_select_operations.html b/wqflask/wqflask/templates/partial_correlations/pcorrs_select_operations.html index fc60aa3e..375e792e 100644 --- a/wqflask/wqflask/templates/partial_correlations/pcorrs_select_operations.html +++ b/wqflask/wqflask/templates/partial_correlations/pcorrs_select_operations.html @@ -106,16 +106,8 @@ <label for="corr-method-input" class="form-label">Compute</label> <select id="corr-method-input" required="required" name="method" class="form-control"> - <option value="Genetic Correlation, Pearson's r"> - Genetic Correlation, Pearson's r</option> - <option value="Genetic Correlation, Spearman's rho"> - Genetic Correlation, Spearman's rho</option> - <option value="SGO Literature Correlation"> - SGO Literature Correlation</option> - <option value="Tissue Correlation, Pearson's r"> - Tissue Correlation, Pearson's r</option> - <option value="Tissue Correlation, Spearman's rho"> - Tissue Correlation, Spearman's rho</option> + <option value="Pearson's r">Pearson's r</option> + <option value="Spearman's rho">Spearman's rho</option> </select> </div> |