greenelab / pancancer-evaluation

Evaluating genome-wide prediction of driver mutations using pan-cancer data
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

Refactor data loading code to load data once for multiple experiments #14

Closed jjc2718 closed 3 years ago

jjc2718 commented 3 years ago

Closes #7. Changes in this PR:

This refactor will allow me to run multiple experiments much faster, since I don't have to reload data and make subprocess calls each time. Sorry for the fairly large PR, no rush to get it reviewed.

Historically I haven't done too much OOP (my view is basically this tweet) so any feedback on how I could structure this better or make it more object-oriented would be awesome.