Function for fitting a negative binomial noise model of technical and biological variability across cells in pruned k-nearest neighbourhoods.
Useful links