Package: barmixR 0.99.2
barmixR: Bayesian Modeling of Barcoded Tumor Mixtures for Quantitative Treatment Resistance Analysis
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.
Authors:
barmixR_0.99.2.tar.gz
barmixR_0.99.2.zip(r-4.7)barmixR_0.99.2.zip(r-4.6)barmixR_0.99.2.zip(r-4.5)
barmixR_0.99.2.tgz(r-4.6-x86_64)barmixR_0.99.2.tgz(r-4.6-arm64)barmixR_0.99.2.tgz(r-4.5-x86_64)barmixR_0.99.2.tgz(r-4.5-arm64)
barmixR_0.99.2.tar.gz(r-4.7-arm64)barmixR_0.99.2.tar.gz(r-4.7-x86_64)barmixR_0.99.2.tar.gz(r-4.6-arm64)barmixR_0.99.2.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
barmixR/json (API)
| # Install 'barmixR' in R: |
| install.packages('barmixR', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mohammaddarbalaei/barmixr/issues
softwarebayesiansequencingvisualizationbayesian-modelingbioinformaticscancerdna-barcodingdrug-responsegastrointestinal-stromal-tumorhigh-throughput-sequencinglineage-tracingmultiplexed-screeningtreatment-resistancetumor-heterogeneitycpp
Last updated from:1509ed7e00. Checks:1 WARNING, 12 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| bioc-checks | WARNING | 276 | ||
| linux-devel-arm64 | OK | 384 | ||
| linux-devel-x86_64 | OK | 445 | ||
| source / vignettes | OK | 453 | ||
| linux-release-arm64 | OK | 368 | ||
| linux-release-x86_64 | OK | 477 | ||
| macos-release-arm64 | OK | 211 | ||
| macos-release-x86_64 | OK | 519 | ||
| macos-oldrel-arm64 | OK | 217 | ||
| macos-oldrel-x86_64 | OK | 564 | ||
| windows-devel | OK | 502 | ||
| windows-release | OK | 535 | ||
| windows-oldrel | OK | 475 | ||
| wasm-release | FAIL | 181 |
Exports:barmixRQTRfractionRatiopopulationRatioppcBarcodesppcPopulationQTRDecisionQTRheatmapQTRresistance
Dependencies:abindbackportsBHBiocParallelcallrcheckmateclicodetoolscpp11descdistributionaldplyrfarverforcatsformatRfutile.loggerfutile.optionsgenericsggplot2gluegridExtragtableinlineisobandlabelinglambda.rlifecycleloomagrittrmatrixStatsnumDerivotelpatchworkpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsS7scalessnowStanHeaderstensorAtibbletidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Class barmixR_fit | barmixR_fit |
| Fit the barmixR model for quantitative treatment resistance (QTR) | barmixRQTR |
| Compute ratios of relative barcode abundance between treatments | fractionRatio |
| Compute ratios of population size between treatments | populationRatio |
| Posterior predictive checks for barcode composition | ppcBarcodes |
| Posterior predictive checks for population size | ppcPopulation |
| Rank treatments within each cell line using QTR boxplot summaries | QTRDecision |
| Visualize quantitative treatment resistance (QTR) using bubble heatmaps | QTRheatmap |
| Estimate quantitative treatment resistance (QTR) | QTRresistance |
