martinjzhang / scDRS

Single-cell disease relevance score (scDRS)
https://martinjzhang.github.io/scDRS/
MIT License
110 stars 15 forks source link

Unit test #10

Closed martinjzhang closed 2 years ago

martinjzhang commented 2 years ago
  1. Reorganized files in ./tests
  2. Added tests in ./tests/test_pp.py for scdrs.pp
  3. Made minor changes to scdrs.pp._get_mean_var_implicit_cov_corr and scdrs.method._compute_raw_score to alignt cells, genes, covs before computation
  4. Add code to infer n_chunk based on sparsity for scdrs.pp._get_mean_var_implicit_cov_corr
  5. Fixing a few minor bugs for type conversion.
  6. There seems to be a merge conflict. Therefore, I suggest to merge this first before adding more unit tests.