NBZIMM: Negative Binomial and Zero-Inflated Mixed Models, with Applications to Microbiome Data Analysis
This R package provides functions for setting up and fitting negative binomial mixed models and zero-inflated negative binomial and Gaussian models. These functions allow for mutiple and correlated group-specific (random) effects and various types of within-group correlation structures as described in the core package nlme, and return objects that can be summarized by functions in nlme. The methods can be used to analyze overdispersed and zero-inflated count or continuous responses with multilevel data structures (for example, clustered and longitudinal studies).
Author: Nengjun Yi nyi@uab.edu; Maintainer: Nengjun Yi nyi@uab.edu
License: GPL
The package without vignettes can be installed using the following R code:
library(remotes)
install_github("nyiuab/NBZIMM", force=T, build_vignettes=F)
If you want to build Vignettes in the installation, please also install the R package R.rsp using the following R code.
library(remotes)
install.packages("R.rsp")
install_github("nyiuab/NBZIMM", force=T, build_vignettes=T)
There are three methods available to analyze microbiome data in NBZIMM. In all three methods, we separately analyze each microbiome taxon.
For a tutorial of using the function glmm.nb to analyze microbiome data with NBMMs please see: NBMMs
For a tutorial of using the function glmm.zinb to analyze microbiome data with ZINBMMs please see: ZINBMMs
For a tutorial of using the function lme.zig to analyze microbiome data with ZIGMMs please see: ZIGMMs