diff options
author | Muriithi Frederick Muriuki | 2021-08-20 14:10:45 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2021-08-20 14:10:45 +0300 |
commit | 8b2c776771d2a70613a1e31d6e6671b612cfbafc (patch) | |
tree | ad7ab6dcd4c43b15afdbe74322fbac76db0f34db /scripts/rqtl_wrapper.R | |
parent | ded960e3d32e4d7ebe590deda27fc47175be73d9 (diff) | |
download | genenetwork3-8b2c776771d2a70613a1e31d6e6671b612cfbafc.tar.gz |
Retrieve the strains with valid values
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* gn3/computations/heatmap.py: add function to get strains with values
* tests/unit/computations/test_heatmap.py: new tests
Add function to get the strains whose values are not `None` from the
`trait_data` object passed in.
This migrates
https://github.com/genenetwork/genenetwork1/blob/master/web/webqtl/heatmap/Heatmap.py#L215-221
into a separate function that can handle that and be tested independently of
any other code.
Diffstat (limited to 'scripts/rqtl_wrapper.R')
0 files changed, 0 insertions, 0 deletions