GLMsim is a single cell simulator that can simultaneously capture the library size, biology and unwanted variation and their associations via a generalized linear model, and to simulate data resembling the original experimental data in these respects. GLMsim is capable of quantitatively benchmarking different single cell integration methods, and assessing their abilities to retain biology and remove library size and batch effects.
devtools::install_github("jiananwehi/GLMsim")
The following packages are prerequisites to run GLMsim.
library(GLMsim)
library(MASS)
library(parallel)