scverse / scvi-tools

Deep probabilistic analysis of single-cell and spatial omics data
http://scvi-tools.org/
BSD 3-Clause "New" or "Revised" License
1.25k stars 355 forks source link

feat: METHYLVI retrieve normalized methylation levels for specific context #3051

Open ethanweinberger opened 1 day ago

ethanweinberger commented 1 day ago

@canergen per your email, I added a flag to METHYLVI's get_normalized_methylation function that retrieves methylation levels for the specified context.

codecov[bot] commented 1 day ago

Codecov Report

Attention: Patch coverage is 90.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 84.53%. Comparing base (c2e3714) to head (4a40526).

Files with missing lines Patch % Lines
src/scvi/external/methylvi/_model.py 90.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3051 +/- ## ======================================= Coverage 84.53% 84.53% ======================================= Files 178 178 Lines 15062 15067 +5 ======================================= + Hits 12732 12737 +5 Misses 2330 2330 ``` | [Files with missing lines](https://app.codecov.io/gh/scverse/scvi-tools/pull/3051?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse) | Coverage Δ | | |---|---|---| | [src/scvi/external/methylvi/\_model.py](https://app.codecov.io/gh/scverse/scvi-tools/pull/3051?src=pr&el=tree&filepath=src%2Fscvi%2Fexternal%2Fmethylvi%2F_model.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjdmkvZXh0ZXJuYWwvbWV0aHlsdmkvX21vZGVsLnB5) | `80.71% <90.00%> (+0.71%)` | :arrow_up: |

🚨 Try these New Features: