multimethconv is an integrative pipeline for cell type deconvolution from methylation data. It reduces dimensionality and eliminates redundancy through unsupervised filtering and iterative correlation analyses. Built on top of existing frameworks like deconvME and multideconv, multimethconv harmonizes outputs across methods to identify robust cell subgroups and mitigate signature-driven heterogeneity.
Overview of the multimethconv analysis pipeline showing the integration of multiple deconvolution methods and consensus filtering approach.
You can install the development version of multimethconv from GitHub with:
# install.packages("pak")
pak::pak("VeraPancaldiLab/multimethconv")
Requires R (>= 4.3)
Performs DNA methylation deconvolution on a beta matrix using multiple algorithms:
library(multimethconv)
# Run deconvolution with default methods
deconv_result <- compute.deconvolution(
methyl_set = beta_matrix_example,
methods = c("Epidish", "Methylresolver", "Methatlas", "Houseman", "MethylCC"),
doParallel = FALSE,
file_name = "my_analysis"
)
Supported Methods: - EpiDISH (RPC mode) - from deconvME - Methylresolver - from deconvME - MethAtlas - from deconvME
Creates a DNA methylation signature by identifying differentially methylated positions (DMPs):
# Create custom methylation signature
signature <- create_methylation_signature(
data = beta_matrix,
Phenotype = phenotype_vector,
FDR = 0.05,
FCcuoff = 1.0,
MaxDMRs = 100
)
Extends RNA signatures with CpG-derived genes using PCHi-C network:
# Extend RNA signature with CpG information
extended_sig <- compute_CpG_signature_extension(
rna_signature = rna_sig,
cpg_signature = cpg_sig,
cpg_region = "both" # Options: "both", "promoter", "distal"
)
Features: - Maps differentially methylated CpGs to promoter and distal fragments - Uses PCHi-C network for chromatin interactions - Propagates CpG signals to associated genes - Combines promoter and distal gene signatures
Maps CpG methylation scores to genes and converts them to pseudo-expression:
# Map CpG scores to genes
gene_expr <- cpg_to_gene_expr(cpg_gene_map, cpg_scores)
The package integrates with:
deconvMe (EpiDISH, MethylResolver,
MethAtlas), multideconvGenomicRanges, IRanges, S4Vectors, minfilimma, matrixStatsdplyr, magrittr, stringrigraph, chaserlibrary(multimethconv)
# Load or prepare your beta matrix
beta_matrix <- your_beta_values # rows = CpGs, columns = samples
# Run full deconvolution pipeline
results <- compute.deconvolution(
methyl_set = beta_matrix,
methods = c("Epidish", "Houseman", "MethylCC"),
file_name = "my_deconvolution"
)
# View results
head(results)
The package automatically harmonizes cell type nomenclature across methods, including:
For detailed workflow examples and use cases:
browseVignettes("multimethconv")
Contributions are welcome! Please submit a Pull Request or open an issue on GitHub.
This project is licensed under the GPL (>= 3) License - see the LICENSE file for details.
If you use multimethconv in your research, please cite:
Hurtado, M., & Pancaldi, V. (2024).
multimethconv: An integrative pipeline for cell type deconvolution from methylation data.
R package version 0.0.1.
https://github.com/VeraPancaldiLab/multimethconv