Closed shz9 closed 2 years ago
While these changes make code more modular, development can get messy quickly. How about we write a test for GWASSimulator class to ensure it preserves its functionality before tackling this issue?
Most of this refactoring was done in magenpy==0.0.2
.
Currently, the GWASDataLoader class incorporates many functionalities that make it brittle and harder to work with. We would like to move some of those functionalities into their own classes/objects.
Here are a number of ideas that we can implement:
SumStats
LD
Genotype
In this sort of setup, the GWASDataLoader object would be an interface to harmonize these data classes, instead of performing many different, unrelated functions.