Retinal thickness is a marker of retinal health and more broadly, is seen as a promising biomarker for many systemic diseases. Retinal thickness measurements are procured from optical coherence tomography (OCT) as part of routine clinical eyecare. We processed the UK Biobank OCT images using a convolutional neural network to produce fine-scale retinal thickness measurements across >29,000 points in the macula, the part of the retina responsible for human central vision. The macula is disproportionately affected by high disease burden retinal disorders such as age-related macular degeneration and diabetic retinopathy, which both involve metabolic dysregulation. Analysis of common genomic variants, metabolomic, blood and immune biomarkers, ICD10 codes and polygenic risk scores across a fine-scale macular thickness grid, reveals multiple novel genetic loci-including four on the X chromosome; retinal thinning associated with many systemic disorders including multiple sclerosis; and multiple associations to correlated metabolites that cluster spatially in the retina. We highlight parafoveal thickness to be particularly susceptible to systemic insults. These results demonstrate the gains in discovery power and resolution achievable with AI-leveraged analysis. Results are accessible using a bespoke web interface that gives full control to pursue findings. Graphical
Acquiring insights from electronic health records (EHRs) is slowed by manual analytical workflows that limit scalability and reproducibility. We present LATCH (LLM-Assisted Testing of Clinical Hypotheses), an agentic framework that converts natural language clinical hypotheses into fully auditable analyses on structured EHR data. LATCH integrates LLM-assisted semantic layers with deterministic execution pipelines to automate cohort construction, statistical analysis, and result reporting, while isolating patient-level data from LLM-involved steps. Using diabetes as a model disease, LATCH reproduced findings from 20 published studies within 3-15 minutes per study. Beyond replication, LATCH enabled study extensions and new insight generation through simple natural language hypothesis modifications. We demonstrated LATCH across 102 hypothesis tests spanning reproduction, extension, and insight generation. We systematically stress-tested LATCH to characterize its limitations and operational boundaries. LATCH provides a scalable framework for reproducible real-world evidence generation, reducing analytical bottlenecks and improving reliability of AI-assisted biomedical discovery while preserving human oversight.