aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/computations/test_wgcna.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-11-04 12:38:27 +0300
committerFrederick Muriuki Muriithi2021-11-04 12:38:27 +0300
commit0357f5c5e6eeb146eb259337019c87079363a256 (patch)
treefb6d03e8120ca983473568dec214a92251386c65 /tests/unit/computations/test_wgcna.py
parent32e6d788ac5b6fa8daf4c26b2ad7bca32d71d828 (diff)
downloadgenenetwork3-0357f5c5e6eeb146eb259337019c87079363a256.tar.gz
Implement `build_data_frame`
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi * gn3/computations/partial_correlations.py: new function (`build_data_frame`) * tests/unit/computations/test_partial_correlations.py: Add tests for new function Add a new function to build a pandas DataFrame object from the provided values: - x: a vector of floats (represented with a tuple of floats) - y: a vector of floats (represented with a tuple of floats) - z: a vector OR matrix of floats (represented with a tuple of floats or a tuple of tuples of floats)
Diffstat (limited to 'tests/unit/computations/test_wgcna.py')
0 files changed, 0 insertions, 0 deletions