barmixR
Bayesian Modeling of Barcoded Tumor Mixtures for Quantitative Treatment Resistance Analysis
Bioconductor version: 3.24 · Package version: 0.99.3
Implements the Bayesian modeling framework underlying the barmixR (BARcode MIXture analysis) platform for high-throughput quantitative analysis of genotype-specific treatment responses in pooled cancer cell populations. The package integrates barcode sequencing count data with volumetric measurements such as tumor volume (in vivo) or cellular confluency (in vitro) using hierarchical probabilistic models. Barcode counts are modeled with a Dirichlet–multinomial distribution to account for compositional sequencing data, while volumetric measurements are modeled using log-normal (tumor volume) or beta (confluency) likelihoods. Posterior inference is performed using Hamiltonian Monte Carlo through 'rstan'. The resulting posterior distributions enable estimation of clone-specific quantitative treatment resistance (QTR) together with uncertainty propagation from both sequencing and volumetric data. Additional functions provide posterior predictive checks, estimation of resistance ratios, treatment ranking, and visualization of resistance landscapes using violin plots and bubble heatmaps. The methods are designed for multiplexed lineage-tracing experiments in cancer research and were developed to analyze treatment resistance in gastrointestinal stromal tumors (GIST), but are broadly applicable to barcoding-based studies of treatment response and clonal dynamics across diverse cancer types.
Installation
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("barmixR") Details
| Maintainer | Mohammad Darbalaei <mohammad.darbalaei@uni-due.de> |
| Author | Mohammad Darbalaei [aut, cre] (ORCID: <https://orcid.org/0009-0003-4561-0048>), Daniel Hoffmann [aut] (ORCID: <https://orcid.org/0000-0003-2973-7869>), Barbara M. Grüner [ctb], Thomas Mühlenberg [ctb], Julia Zummack [ctb] |
| License | GPL-3 + file LICENSE |
| URL | https://github.com/MohammadDarbalaei/barmixR |
| Bug Reports | https://github.com/MohammadDarbalaei/barmixR/issues |
| System Requirements | GNU make, C++17, StanHeaders |
| Downloads rank | 43 |
| Source branch | devel |
| biocViews | Bayesian, Sequencing, Software, Visualization |
Documentation
- barmixR: Bayesian Modeling of Barcoded Tumor Mixtures for Quantitative Treatment Resistance Analysis
Download
Follow the installation instructions to use this package in your R session.
| Source package | barmixR_0.99.3.tar.gz |
| Windows binary (x86_64) | barmixR_0.99.3.zip |
| macOS binary (arm64) | barmixR_0.99.3.tgz |
| macOS binary (x86_64) | barmixR_0.99.3.tgz |
Dependencies
Depends: R (>= 4.3.0)
Imports: utils, BiocParallel, dplyr, forcats, ggplot2, methods, patchwork, Rcpp (>= 0.12.0), RcppParallel (>= 5.0.1), rstan (>= 2.18.1), rstantools (>= 2.4.0), stats
LinkingTo: BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0), RcppParallel (>= 5.0.1), rstan (>= 2.18.1), StanHeaders (>= 2.18.0)
Suggests: BiocStyle, knitr, MGLM, rmarkdown, testthat, tidyverse