summaryrefslogtreecommitdiff
path: root/issues/correlations-all-samples.gmi
blob: 3ea3a5ae63d96c66bb7e799d1739ae81fb3b5a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Correlations are wrongly always using all samples

## Tags

* assigned: fredm, zsloan, alexm
* type: bug
* priority: high
* status: closed, completed
* keywords: correlations

## Description

Do any BXD correlation (for example https://genenetwork.org/show_trait?trait_id=1457022_at&dataset=HC_M2_0606_P against the default/same dataset)

It uses all 71 samples regardless of what the user chooses in the "Samples" drop-down. 

It should instead use the logic in the lines below (which was initially wrong and I just fixed), but this logic seems like it isn't being used at all with the new rust-correlations code:

https://github.com/genenetwork/genenetwork2/blob/400320ea0063954f027fa918f77f7518b904c6ba/wqflask/wqflask/correlation/correlation_gn3_api.py#L160-L170


## Notes 25/10/22

Pr that fixes the issues raised are:

=> https://github.com/genenetwork/genenetwork2/pull/739

=>  https://github.com/genenetwork/genenetwork3/pull/102