nebula-package {nebula} | R Documentation |
A fast negative binomial mixed model for conducting association analysis of multi-subject single-cell data. It can be used for identifying marker genes, differential expression and co-expresseion analyses. The model includes subject-level random effects to account for the hierarchical structure in multi-subject single-cell data.
nebula is an R package for performing association analysis using a fast negative binomial mixed model for multi-subject single-cell data.
Liang He
Maintainer: Liang He <liang.he@duke.edu>
He. L, Kulminski, A.M., NEBULA: a fast negative binomial mixed model for differential expression and co-expression analysis of large-scale single-cell data. 2020
library(nebula) data(sample_data) pred = model.matrix(~X1+X2+cc,data=sample_data$pred) re = nebula(count=sample_data$count,id=sample_data$sid,pred=pred)