mist: a hierarchical Bayesian framework for detecting differential DNA methylation dynamics in single-cell data.
The 2 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § Results › Overview of mist ↔ R/estiParam.R, the whole file · a weak match · score 0.62 · pseudotime vector, single cell DNA, genomic features, hierarchical Bayesian, matrix, mist
- [2] § Results › mist in parameter estimation ↔ R/Fig2b_d.R, lines 106–159 · score 0.52 · squared error, relative bias, Boxplots, outliers, Figure 2, GAM
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R · 96 lines · 4.3 KB · other · 1 match
- #' Parameter Estimation With mist
- #'
- #' This function performs the Gibbs sampling procedure based on hierarchical Bayesian modeling
- #' to produce the parameters required for differential methylation analysis.
- #'
- #' @param Dat_sce A `SingleCellExperiment` object containing the single-cell DNA methylation level.
- #' Methylation levels should be stored as an assay, with genomic feature (gene) names in rownames
- #' and cells in colnames.
- #' @param Dat_name A character string specifying the name of the assay to extract the methylation level data.
- #' @param ptime_name A character string specifying the name of the column in `colData` containing the pseudotime vector.
- #' @param BPPARAM A `BiocParallelParam` object specifying the parallel backend for computations, as used in `bplapply()`. Defaults to `MulticoreParam()` for parallel processing.
- #' @param verbose A logical value indicating whether to print progress messages to the console.
- #' Defaults to \code{TRUE}. Set to \code{FALSE} to suppress messages.
- #'
- #' @return The updated sce object with A numeric matrix of estimated parameters for all genomic features in the rowData, including:
- #' - \eqn{\beta_0} to \eqn{\beta_4}: Estimated coefficients for the polynomial of degree 4.
- #' - \eqn{\sigma^2_1} to \eqn{\sigma^2_4}: Estimated variances for each stage along the pseudotime.
- #'
- #' @import MCMCpack BiocParallel car mvtnorm SummarizedExperiment SingleCellExperiment BiocGenerics
- #' @importFrom stats pgamma poly qgamma rnorm runif
- #' @export
- #'
- #' @examples
- #' library(SingleCellExperiment)
- #' data <- readRDS(system.file("extdata", "group1_sampleData_sce.rds", package = "mist"))
- #' Dat_sce_new <- estiParam(
- #' Dat_sce = data,
- #' Dat_name = "Methy_level_group1",
- #' ptime_name = "pseudotime"
- #' )
- estiParam <- function(Dat_sce,
- Dat_name,
- ptime_name,
- BPPARAM = MulticoreParam(),
- verbose = TRUE) {
- ######## 1. Input Validation
- # Check if Dat_sce is a SingleCellExperiment object
- if (!methods::is(Dat_sce, "SingleCellExperiment")) {
- stop("Dat_sce must be a SingleCellExperiment object.",
- call. = TRUE, domain = NULL)
- }
- # Check if Dat_name is provided
- if (is.null(Dat_name)) {
- stop("Missing Dat_name: Specify the assay name to extract data.",
- call. = TRUE, domain = NULL)
- }
- # Check if ptime_name is provided
- if (is.null(ptime_name)) {
- stop("Missing ptime_name: Specify the column name in colData for pseudotime.",
- call. = TRUE, domain = NULL)
- }
- # Extract the assay and pseudotime data
- scDNAm_mat <- assay(Dat_sce, Dat_name)
- ptime <- colData(Dat_sce)[[ptime_name]]
- # Check if the number of cells (columns) matches the length of pseudotime
- if (ncol(scDNAm_mat) != length(ptime)) {
- stop("The number of cells in the data matrix and the pseudotime vector must match.",
- call. = TRUE, domain = NULL)
- }
- ###### 2. Normalize pseudotime to 0 - 1
- ptime <- ptime[is.finite(ptime) & !is.na(ptime)]
- ptime_all <- c(ptime / max(ptime))
- if (verbose) message("Pseudotime cleaning and normalization to [0, 1] completed.")
- ###### 3. Remove Genomic Features Containing Only 0/1 Values in All Timepoints
- rmRes <- BiocParallel::bplapply(seq_len(nrow(scDNAm_mat)), rmBad, dat_ori = scDNAm_mat, ptime_all = ptime_all,
- BPPARAM = BPPARAM)
- rmIndex <- which(unlist(rmRes) == 1)
- scDNAm_mat_clean <- scDNAm_mat[!seq_len(nrow(scDNAm_mat)) %in% rmIndex, ]
- if (verbose) message("Removal of genomic features with too many 0/1 values completed.")
- ###### 4. Parameter Estimation using Gibbs Sampling
- beta_sigma_list <- BiocParallel::bplapply(seq_len(nrow(scDNAm_mat_clean)), run_bayesian_estimation,
- dat_ready = scDNAm_mat_clean, ptime_all = ptime_all,
- BPPARAM = BPPARAM)
- # Assign names to the parameters
- name_vector <- c("Beta_0", "Beta_1", "Beta_2", "Beta_3", "Beta_4", "Sigma2_1", "Sigma2_2", "Sigma2_3", "Sigma2_4")
- beta_sigma_list <- lapply(beta_sigma_list, function(x) {
- names(x) <- name_vector
- return(x)
- })
- # Assign genomic feature names to the list
- names(beta_sigma_list) <- rownames(scDNAm_mat_clean)
- rowData(Dat_sce)$mist_pars <- do.call(rbind, beta_sigma_list)
- # Return the final sce object
- return(Dat_sce)
- }
estiParam.R at commit f0061d2, under other · at the source
Overview
- Department of Population and Quantitative Health Sciences, Case Western Reserve University, Cleveland, OH USA
- Department of Biostatistics, University of Michigan, Ann Arbor, MI USA
- Department of Biostatistics and Data Science, The University of Texas Health Science Center at Houston, Houston, TX USA
- Department of Biostatistics and Bioinformatics, Emory University, Atlanta, GA USA
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repositories
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
Zenodo 18451940
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
dxd429/mist
f0061d291f375a63876f71dec3ff2cc03eeeaeb2, 31 January 2026Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
12 files
- R/
dmSingle.R , R, 73 lines - R/
dmTwoGroups.R , R, 105 lines - R/
estiParam.R , R, 96 lines, 1 match - R/
plotGene.R , R, 88 lines - R/
utilityFunctions.R , R, 202 lines - inst/
scripts/ , R, 23 linesdataInfo.R - inst/
unitTests/ , R, 22 linestest_mist.R - tests/
runTest.R , R, 2 lines - vignettes/
mist_vignette.Rmd , R, 150 lines - LICENSE, License, 2 lines
- LICENSE.md, License, 21 lines
- README.md, Text, 4 lines
dxd429/mistdata
944f151c56a44b66fb8e2e9eceda0a8b9b65735a, 1 February 2026Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
34 files
- R/
Fig2a.R , R, 48 lines - R/
Fig2b_d.R , R, 314 lines, 1 match - R/
Fig3.R , R, 344 lines - R/
Fig4.R , R, 371 lines - R/
Fig5.R , R, 440 lines - R/
bias_sim_10_4000.R , R, 94 lines - R/
functions.R , R, 520 lines - R/
mist_ctx.r , R, 284 lines - R/
mist_hpc.r , R, 284 lines - R/
simulation_code/ , R, 223 linesallFUNs_sim_10.R - R/
simulation_code/ , R, 223 linesallFUNs_sim_10_2000.R - R/
simulation_code/ , R, 223 linesallFUNs_sim_10_4000.R - R/
simulation_code/ , R, 223 linesallFUNs_sim_10_8000.R - R/
simulation_code/ , R, 223 linesallFUNs_sim_15.R - R/
simulation_code/ , R, 223 linesallFUNs_sim_15_2000.R - R/
simulation_code/ , R, 223 linesallFUNs_sim_15_4000.R - R/
simulation_code/ , R, 223 linesallFUNs_sim_15_8000.R - R/
simulation_code/ , R, 225 linesallFUNs_sim_5.R - R/
simulation_code/ , R, 225 linesallFUNs_sim_5_2000.R - R/
simulation_code/ , R, 225 linesallFUNs_sim_5_4000.R - R/
simulation_code/ , R, 225 linesallFUNs_sim_5_8000.R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_10 .R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_10 _2000.R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_10 _4000.R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_10 _8000.R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_15 .R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_15 _2000.R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_15 _4000.R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_15 _8000.R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_5. R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_5_ 2000.R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_5_ 4000.R - R/
simulation_code/ , R, 245 linesv6_2group_allFUNs_sim_5_ 8000.R - README.md, Text, 1 line
Code availability statement
The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: dxd429/
mist , Zenodo 18451940
Read it in the paper: doi.org/10.1038/s41467-026-70523-y.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 42 scripts, each with its path and the digest of its content;
- 2 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- geo:GSE121708, at NCBI GEO; found in “Data availability”
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to a dataset: NCBI GEO GSE121708
- it points to the authors' code: dxd429/
mist , Zenodo 18451940
Read it in the paper: doi.org/10.1038/s41467-026-70523-y.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 4 keywords, 11 MeSH terms, 2 funders, 66 references.
Cite
This paper
Duan, D., Ma, W., Tang, W., Wu, H., Zhang, L., & Feng, H. (2026). mist: a hierarchical Bayesian framework for detecting differential DNA methylation dynamics in single-cell data. Nature communications, 17(1), 3835. https://
BibTeX
@article{duan2026mist,
author = {Duan, Daoyu and Ma, Wenjing and Tang, Wen and Wu, Hao and Zhang, Liangliang and Feng, Hao},
title = {{mist: a hierarchical Bayesian framework for detecting differential DNA methylation dynamics in single-cell data}},
journal = {Nature communications},
year = {2026},
month = mar,
volume = {17},
number = {1},
pages = {3835},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {41820383},
pmcid = {PMC13121613}
}
RIS
TY - JOUR
AU - Duan, Daoyu
AU - Ma, Wenjing
AU - Tang, Wen
AU - Wu, Hao
AU - Zhang, Liangliang
AU - Feng, Hao
TI - mist: a hierarchical Bayesian framework for detecting differential DNA methylation dynamics in single-cell data
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 3835
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "mist: a hierarchical Bayesian framework for detecting differential DNA methylation dynamics in single-cell data",
"container-title": "Nature communications",
"author": [
{
"family": "Duan",
"given": "Daoyu"
},
{
"family": "Ma",
"given": "Wenjing"
},
{
"family": "Tang",
"given": "Wen"
},
{
"family": "Wu",
"given": "Hao"
},
{
"family": "Zhang",
"given": "Liangliang"
},
{
"family": "Feng",
"given": "Hao"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "3835",
"DOI": "10.1038/
"PMID": "41820383",
"PMCID": "PMC13121613",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
12
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1016/j.xcrm.2026.102766 [code]
- A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.Journal: Cell reports. MedicineIn common: pROC, Monocle 3, SingleCellExperiment, 8 other tools, genetics / omics, 3 references
- [2] doi:10.1038/s41586-026-10214-2 [code]
- Multidimensional profiling of heterogeneity in supratentorial ependymomas.Journal: NatureIn common: Monocle 3, SingleCellExperiment, car, 7 other tools, genetics / omics, mouse
- [3] doi:10.3390/ijms27104466 [code]
- Uncovering the Key Circuit FOSL2/
FOS/ EGR3/ EGR1, Contributing to the Hyperexcitability of Excitatory Neurons in the Epileptic Temporal Cortex and Hippocampus. Journal: International journal of molecular sciencesIn common: pROC, Monocle 3, igraph, 6 other tools, genetics / omics, 1 reference - [4] doi:10.1038/s41593-026-02367-0 [code]
- A reproducible three-dimensional model of human brain tissue to investigate physiological and disease-associated microglia phenotypes.Journal: Nature neuroscienceIn common: Monocle 3, SingleCellExperiment, igraph, 6 other tools, 1 reference
- [5] doi:10.1093/bioinformatics/btag592 [code]
- Network-based stratification of allele-specific expression reveals patient subgroups in Huntington's disease.Journal: Bioinformatics (Oxford, England)In common: mgcv, pROC, car, 6 other tools, genetics / omics
- [6] doi:10.1186/s12967-026-08266-z [code]
- Single-cell multi-omic integration analysis prioritizes druggable genes and reveals cell-type-specific causal effects in glioblastomagenesis.Journal: Journal of translational medicineIn common: Monocle 3, igraph, ComplexHeatmap, 4 other tools, genetics / omics, 3 references
- [7] doi:10.1002/imt2.70163 [code]
- Spatial multi-omics unveils sphingolipid metabolic reprogramming within the retinal pathological niche.Journal: iMetaIn common: Monocle 3, SingleCellExperiment, igraph, 6 other tools, genetics / omics, mouse
- [8] doi:10.1038/s41467-026-76341-6 [code]
- Neonatal inflammation disrupts a temporally restricted postnatal Numb-enriched microglial state in mice.Journal: Nature communicationsIn common: Monocle 3, SingleCellExperiment, igraph, 5 other tools, mouse, 1 reference
- [9] doi:10.1038/s41467-026-71595-6 [code]
- A single-cell and spatial atlas of early human olfactory development.Journal: Nature communicationsIn common: mgcv, SingleCellExperiment, igraph, 4 other tools, genetics / omics, 2 references
- [10] doi:10.1038/s41588-026-02737-1 [code]
- Human and mouse adrenal glands are characterized by species-specific steroidogenic states and tissue turnover.Journal: Nature geneticsIn common: Monocle 3, igraph, ComplexHeatmap, 4 other tools, genetics / omics, mouse, 2 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 3 repositories of the authors' code, each at its verified commit and with its license, 42 scripts, and 2 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:074458a0fc651fc6…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
