Reporting summary
Further information on research design is available in the Nature
Research Reporting Summary linked to this paper.
Data availability
Source data are provided with this paper.
Code availability
Code for all FIJI macros used in this study is available for download
via the Supplementary Information. These macros are available as
Supplementary Data 1–6.
- Jiang, H. & Edgar, B. A. EGFR signaling regulates the proliferation of Drosophila adult
midgut progenitors. Development 136 , 483–493 (2009). - Lee, T. & Luo, L. Mosaic analysis with a repressible cell marker for studies of gene function
in neuronal morphogenesis. Neuron 22 , 451–461 (1999). - Palanker, L. et al. Dynamic regulation of Drosophila nuclear receptor activity in vivo.
Development 133 , 3549–3562 (2006). - Kozlova, T. & Thummel, C. S. Spatial patterns of ecdysteroid receptor activation during
the onset of Drosophila metamorphosis. Development 129 , 1739–1750 (2002). - Han, S. K. et al. OASIS 2: online application for survival analysis 2 with features for the
analysis of maximal lifespan and healthspan in aging research. Oncotarget 7 ,
56147–56152 (2016). - Schindelin, J. et al. Fiji: an open-source platform for biological-image analysis.
Nat. Methods 9 , 676–682 (2012).
34. Liang, J., Balachandra, S., Ngo, S. & O’Brien, L. E. Feedback regulation of steady-state
epithelial turnover and organ size. Nature 548 , 588–591 (2017).
35. Zheng, W. et al. Dehydration triggers ecdysone-mediated recognition-protein priming
and elevated anti-bacterial immune responses in Drosophila Malpighian tubule renal
cells. BMC Biol. 16 , 60 (2018).
36. Su, Y.-H. et al. Diet regulates membrane extension and survival of niche escort cells for
germline homeostasis via insulin signaling. Development 145 , dev159186 (2018).
37. Cáceres, L. et al. Nitric oxide coordinates metabolism, growth, and development via the
nuclear receptor E75. Genes Dev. 25 , 1476–1485 (2011).
Acknowledgements We thank J. Zhou, I. Miguel-Aliaga, C. Thummel, P. Patel and L. O’Brien
for stocks and discussions. We thank O. Salem of McMaster Immunology Research Centre for
Fig. 3i and M. AbdelMoety of American University of the Middle East for the chemical structure
in Fig. 3i. This work was supported by ERC AdG 268515, DFG SFB873 and NIH GM124434 to
B.A.E., and by the Helmholtz Zukunftsthema ‘Aging and Metabolic Programming’ (AMPro)
to A.A.T.
Author contributions S.M.H.A. performed and analysed all experiments except Extended Data
Figs. 8m, 9a–d (G.O.P.-S.) and Extended Data Fig. 6a, e–q (C.P.). J.A.M. contributed to Extended
Data Fig. 8a, n and Fig 2o. The conception and design of experiments was by S.M.H.A., B.A.E.,
J.A.M. and A.A.T. Image-processing methods were designed by D.K. S.M.H.A., A.A.T. and B.A.E.
wrote the manuscript.
Competing interests The authors declare no competing interests.
Additional information
Supplementary information is available for this paper at https://doi.org/10.1038/s41586-020-
2462-y.
Correspondence and requests for materials should be addressed to A.A.T. or B.A.E.
Peer review information Nature thanks Henri Jasper, Marc Tatar and the other, anonymous,
reviewer(s) for their contribution to the peer review of this work.
Reprints and permissions information is available at http://www.nature.com/reprints.