Description Usage Arguments Value
View source: R/fit_count_models.R
Fit a gene with regression models
1 2 | fit_count_models(gexpr, formula_string = NULL, nCores = NULL,
seed = NULL, adapt_delta = 0.8, model2fit = NULL)
|
gexpr |
A data frame that containes UMI count (y), log_depth (exposure), and covariate values |
formula_string |
A regression formula to fit the non-zero-inflated counts (Note: Do not use 'offset()') |
nCores |
Number of cores |
seed |
Seed number |
adapt_delta |
The target average proposal acceptance probability during Stan’s adaptation period (default:0.8) |
model2fit |
A specific model to fit (1:P, 2:NB, 3:ZIP, 4:ZINB, NULL:All) |
A list of 'stanfit' returned by model(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.