about summary refs log tree commit diff
path: root/gn3/api
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-10-18 14:14:04 +0300
committerBonfaceKilz2021-10-19 16:33:32 +0300
commit38a0b65d234c0019ba14814adf69e09493082298 (patch)
tree49669bf3a2e3a5f11f539c105fdcd0922352e94b /gn3/api
parent42c56d330fdb51820c0fdcbb0b4376ff568ea009 (diff)
downloadgenenetwork3-38a0b65d234c0019ba14814adf69e09493082298.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/api')
0 files changed, 0 insertions, 0 deletions