Single-cell analysis of ductal differentiation