RNA-seq data of hPSC-LOs and lung autopsy samples is publicly available on the GEO repository database under the accession number GSE155241. scRNA-seq data of hPSC-LOs is publicly available on the GEO repository database under the accession number GSE148113. scRNA-seq data of hPSC-COs are publicly available on the GEO repository database, accession number GSE147975. RNA-seq of hPSC-derived endocrine cells and liver organoids are available on the GEO repository database, accession number GSE151803.
Source Data behind Figs. 1c, d, g, k; 2i; 3a, e, k; 4a, c, g, i; Extended Data Figs 1d, e; 5a; 6a, c, d; 7a, c; 8a, c, e; 9a, d; 10a, c, are available within the manuscript files.