Age | Commit message (Expand) | Author |
2021-07-22 | Add docstring...Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* Add docstring to the function, useful for generating automated developer
documentation.
We also surround the guard functions with some notification comments, to
mark possible future places where change might be done.
| Muriithi Frederick Muriuki |
2021-07-22 | Check that list and its direct children are not empty...Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* Add code to pass the test that the list/tuple passed to `nearest' and its
direct children lists/tuples are not empty.
| Muriithi Frederick Muriuki |
2021-07-22 | Implement check for lists or tuples...Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* Implement the code to pass the check that a list of lists is passed to the
`nearest' function.
| Muriithi Frederick Muriuki |
2021-07-21 | Extract tests from code in GN1...Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* gn3/computations/slink.py: Add dummy `nearest' function
* tests/unit/computations/test_slink.py: Add some tests
This commit adds tests to try and reproduce the working of the `nearest'
function in:
https://github.com/genenetwork/genenetwork1/blob/master/web/webqtl/heatmap/slink.py
This commit might not yet have extracted all the expected behaviour of the
`nearest' function, and therefore, there is a possibility of a later commit
augmenting the work in this commit.
| Muriithi Frederick Muriuki |
2021-07-20 | Implement the correlation function...Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* Implement the correlation computation function, such that it passes the
tests created previously.
| Muriithi Frederick Muriuki |
2021-07-20 | Add test for code to move over from GN1...Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* .gitignore: ignore emacs temporary files
* gn3/computations/correlations2.py: add a dummy function
* tests/unit/computations/test_correlation.py: add unit tests for the function
As part of the move of the clustering and heatmap code over from GN1 to GN3,
this commit begins by providing some unit tests for the correlation function
used to ensure that the implementation that is built up here corresponds,
and produces the same results as the original.
This tests and the function might change in the new system, but for now, we
try and maintain bug-to-bug compatibility.
| Muriithi Frederick Muriuki |
2021-06-29 | Replace list with a tuple as an argument when setting success_codes...* gn3/commands.py (run_cmd): Replace type of success_codes from List to Tuple
* gn3/computations/diff.py (generate_diff): Pass success_codes as a Tuple when
calling "run_cmd".
| BonfaceKilz |
2021-06-29 | gn3: diff: Set success_codes when running the diff tool | BonfaceKilz |
2021-06-29 | Add a diffing function...For now the diff function uses the Linux tool "diff" to generate the diff
since it is efficient and straightforward.
* gn3/computations/diff.py (generate_diff): New function.
* tests/unit/computations/test_diff.py: Test cases for ☝🏾.
| BonfaceKilz |
2021-06-23 | fix pylint issues | Alexander Kabui |
2021-06-23 | minor fixes for biweight script | Alexander Kabui |
2021-06-20 | minor fix docstring | Alexander Kabui |
2021-06-20 | merge main | Alexander Kabui |
2021-06-20 | make requested changes to biweight | Alexander Kabui |
2021-06-18 | Fixed pylint issues | zsloan |
2021-06-18 | Resolve mypy errors in computations/rqtl.py | zsloan |
2021-06-18 | Fixed spelling of coeffient to coefficient | zsloan |
2021-06-18 | fix index error (#16) | Alexander Kabui |
2021-06-16 | add r-wgna package | Alexander Kabui |
2021-06-16 | minor fix | Alexander Kabui |
2021-06-16 | refactor script and add tests | Alexander Kabui |
2021-06-16 | add fetch args function | Alexander Kabui |
2021-06-15 | fix script path issues | Alexander Kabui |
2021-06-14 | fix missing call to bicorAndPvalue | Alexander Kabui |
2021-06-14 | add biweight r script and tests | Alexander Kabui |
2021-05-30 | fix index error (#16) | Alexander Kabui |
2021-05-25 | Include code that processes rqtl output files and returns actual results inst... | zsloan |
2021-05-19 | Temporarily replace forward-slashes with underscores, since they can be inclu... | zsloan |
2021-05-18 | Fixed generate_rqtl_cmd to make the kwarg hash from a combination of keywords... | zsloan |
2021-05-18 | Fixed variety of issues detected by pylint | zsloan |
2021-05-17 | Created compose_rqtl_command and generate_rqtl_command to create the actual c... | zsloan |
2021-05-15 | resolve merge conflict | Alexander Kabui |
2021-05-15 | Merge branch 'main' into feature/minor-fixes | Alexander Kabui |
2021-05-15 | index lit tuple result | Alexander Kabui |
2021-05-13 | Rename file_utils to fs_helpers...Generally avoid naming things with a "utils" prefix/ suffix since it
encourages contributors to dump any new functions there; and over time, as the
code grows, things get messy...
| BonfaceKilz |
2021-05-13 | computations: correlations: Apply pep-8 | BonfaceKilz |
2021-05-12 | delete unused functions | Alexander Kabui |
2021-05-12 | rename lit_correlation_for_trait_list to lit_correlation_for_trait | Alexander Kabui |
2021-05-12 | rename tissue_correlation_for_trait_list with tissue_correlation_for_trait | Alexander Kabui |
2021-05-12 | rename p_val ro tissue_p_value for tissue_results | Alexander Kabui |
2021-05-08 | Add extra procedure for parsing a genotype file...* gn3/computations/parsers.py (parse_genofile): New procedure.
* tests/unit/computations/test_parsers.py: New test files for above.
| BonfaceKilz |
2021-05-03 | add default no of cores | Alexander Kabui |
2021-05-03 | add trait_id fix mypy issues | Alexander Kabui |
2021-05-03 | minor fixes for tiss correlation tests and naming | Alexander Kabui |
2021-05-03 | replace database with conn | Alexander Kabui |
2021-05-02 | delete dataset and trait files | Alexander Kabui |
2021-04-20 | pep8 formatting | Alexander Kabui |
2021-04-20 | add experiment function for computing tissue correlation using multiprocessing | Alexander Kabui |
2021-04-18 | refactor:return trait_name in corr_results | Alexander Kabui |
2021-04-17 | ad pep8 formatting | Alexander Kabui |