fitPi {LineagePulse} | R Documentation |
This function fits all drop-out models required on this data set.
fitPi(matCounts, lsMuModel, lsDispModel, lsDropModel)
matCounts |
(count matrix genes x cells) Observed read counts, not observed are NA. |
lsMuModel |
(list) Object containing description of gene-wise mean parameter models. |
lsDispModel |
(list) Object containing description of gene-wise dispersion parameter models. |
lsDropModel |
(list) Object containing description of cell-wise drop-out parameter models. |
vecLinModel (numeric vector length linear model) Linear model for drop-out rate in logit space for given cell.
David Sebastian Fischer
Called by ZINB fitting wrapper fitModel
.
Calls optim wrapper fitPi_ManyCells
or fitPi_SingleCell
.