mnnsim (Mutual Nearest Neighbor Simulation) implements a simulation to compare the quality of various batch correction methods for single-cell data.
You can install the most recent updates of mnnsim from github with:
if("mnnsim" %in% rownames(installed.packages()) == FALSE) {
if("devtools" %in% rownames(installed.packages()) == FALSE)
install.packages("devtools")
devtools::install_github('jlakkis/mnnsim')
}
For a detailed walkthrough of this package, please check out this vignette. For a quantitative assessment of the benefits of parallelizing this simulation, check out the parallel code script.