This function returns model parameters based on the best fit distribution
as selected by distr_fit and models fitted by fit_models
model_param(fit.model, gof.res, model = NULL)
| fit.model | A list of models fitted by 'glm' from |
|---|---|
| gof.res | A list of selected model distributions for genes |
| model | A specific model to fit (1:P, 2:NB, 3:ZIP, 4:ZINB, NULL:All) |
A list of model parameters estimated. Estimated model parameters include mean (for all 4 models), theta (over-dispersion parameter for NB & ZINB models), pi (zero-inflation parameter for ZIP & ZINB models).