diff options
author | Frederick Muriuki Muriithi | 2021-10-18 14:14:04 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-10-18 14:14:04 +0300 |
commit | 1544776b072d7240773cf14d423078841e4c1a07 (patch) | |
tree | a08516c851eb6f2f7fd03ead773458e56c0dec12 /gn3/computations/slink.py | |
parent | 94ca79045baf978d6aab964c7c70b84911c1124f (diff) | |
download | genenetwork3-1544776b072d7240773cf14d423078841e4c1a07.tar.gz |
Implement `control_samples` function as is in GN1
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi
* gn3/partial_correlations.py: Implement `control_samples` function
* tests/unit/test_partial_correlations.py: add tests for `control_samples`
function
Implement the function `control_samples` and make it mostly bug-compatible
with the `web/webqtl/correlation/correlationFunction.controlStrain` function
in GN1.
This implementation in GN3 does not do any calls to the database. It will
rely on other functions to provide the data from the database to it.
Diffstat (limited to 'gn3/computations/slink.py')
0 files changed, 0 insertions, 0 deletions