Model based approaches to characterize heterogeneity in gene regulation across cells and disease types