bailey-lab / MIPTools

A suite of computational tools used for molecular inversion probe design, data processing, and analysis.
https://miptools.readthedocs.io
MIT License
6 stars 9 forks source link

Duplicate code between PCA.py and plot_PCA.py #10

Open AshlinHarris opened 2 years ago

AshlinHarris commented 2 years ago

Some code for filtering, analysis, and plotting is duplicated between src/PCA.py and src/plot_PCA.py.

arisp99 commented 2 years ago

In particular, the duplicate code is in the following lines: https://github.com/bailey-lab/MIPTools/blob/6035a73c95c6ea1c86302e217f4c816e9262e981/src/PCA.py#L107-L163

and: https://github.com/bailey-lab/MIPTools/blob/6035a73c95c6ea1c86302e217f4c816e9262e981/src/plot_PCA.py#L46-L93