Drosophila tissues often contain a heterogeneous mixture of cell types. To examine gene expression in specific cell types from a particular tissue, nuclei can be genetically tagged and subsequently isolated using an affinity-based approach. Isolated nuclei can be used for downstream applications such as gene expression analysis and chromatin immunoprecipitation.