Learning and inference with single cell data