diff options
author | Frederick Muriuki Muriithi | 2021-11-18 10:58:34 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-11-18 10:58:34 +0300 |
commit | 21fbbfd599c841f082d88ddfc5f4cb362e1eb869 (patch) | |
tree | 11ba5b9b8758391c0df78745148f33d22c15bed0 /gn3/db_utils.py | |
parent | 29fc003070b45f61e7ab1048a818201b5beb9298 (diff) | |
download | genenetwork3-21fbbfd599c841f082d88ddfc5f4cb362e1eb869.tar.gz |
Replace code migrated from R with pingouin functions
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi
* Replace the code that was in the process of being migrated from R in
GeneNetwork1 with calls to pingouin functions that achieve the same thing.
Since the functions in this case are computing correlations and partial
correlations, rather than having home-rolled functions to do that, this
commit makes use of the tried and tested pingouin functions.
This avoids complicating our code with edge-case checks, and leverages the
performance optimisations done in pingouin.
Diffstat (limited to 'gn3/db_utils.py')
0 files changed, 0 insertions, 0 deletions