Methods for leveraging heterogeneity in gene expression and single-cell epigenetic data for systems immunology