We identify gene expression modules enriched at early embryonic and neonatal stages; multiple cell types in the left and right atriums are transcriptionally distinct at neonatal stages; many congenital heart defect-associated genes have cell type-specific expression; stage-unique ligand-receptor interactions are mostly between epicardial cells and other cell types at neonatal stages; and mutants of epicardium-expressed genes Wt1 and Tbx18 have different heart defects. This evidence concerns the gene TBX18 and congenital heart disease.