Beta-Binomial Models for Immune Cell Frequencies and Power Calculations

Provides tools to model overdispersed immune cell frequencies using Beta-Binomial generalized linear models. Originally designed for memory B cells, the framework generalizes to evaluate rare cellular immune responses across vaccinology, immuno-oncology, and related fields. Includes method-of-moments dispersion estimation, likelihood ratio testing across experimental arms, and Monte Carlo simulation to calculate statistical power and Type I error rates. The methodologies are 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.1 by Andrew Shin, 2 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