MethScope: Ultra-Fast Analysis of Sparse DNA Methylome via Recurrent Pattern Encoding

Methods for analyzing DNA methylation data via Most Recurrent Methylation Patterns (MRMPs). Supports cell-type annotation, spatial deconvolution, unsupervised clustering, and cancer cell-of-origin inference. Includes C-backed summaries for YAME “.cg/.cm” files (overlap counts, log2 odds ratios, beta/depth aggregation), an XGBoost classifier, NNLS deconvolution, and plotting utilities. Scales to large spatial and single-cell methylomes and is robust to extreme sparsity.

Package details

AuthorHongxiang Fu [aut, cre] (ORCID: <https://orcid.org/0000-0002-9873-8606>), Wanding Zhou [cph, fnd], The SAMtools/HTSlib authors [ctb, cph] (BGZF components; see inst/COPYRIGHTS), Attractive Chaos [ctb, cph] (Author and copyright holder of khash.h (klib, MIT license))
MaintainerHongxiang Fu <fhx@seas.upenn.edu>
LicenseMIT + file LICENSE
Version1.0.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("MethScope")

Try the MethScope package in your browser

Any scripts or data that you put into this service are public.

MethScope documentation built on Feb. 27, 2026, 1:08 a.m.