Beta-Binomial Models for Evaluating Overdispersed B-Cell Phenotyping Data

Provides tools for statistical power calculations to plan early-phase vaccine and immunotherapy trials comparing rare, antigen-specific immune cell frequencies. Originally designed for memory B-cell phenotyping studies and generalizable to high-parameter flow cytometry assays across vaccinology and immuno-oncology, the models overdispersed count distributions using Beta-Binomial generalized linear models. Unlike rank-based tests, this approach retains response magnitude information while accounting for extra-binomial variation, small sample sizes, unequal between-participant variability, and uncertainty in pilot estimates. Includes method-of-moments dispersion estimation, likelihood ratio testing across experimental arms, and Monte Carlo simulation to evaluate statistical power with well-controlled empirical Type I error rates. This workflow is directly motivated by the analysis of immunology data in "Vaccination with mRNA-encoded membrane-anchored HIV envelope trimers elicited tier 2 neutralizing antibodies in a phase 1 clinical trial" (Parks et al. 2025) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("BBMBC")

1.0.3 by Andrew Shin, 6 days ago


Browse source code at https://github.com/cran/BBMBC


Authors: Andrew Shin [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports doParallel, foreach, glmmTMB, parallel, stats, utils

Suggests testthat


See at CRAN