A noninvasive approach could help clinicians prescribe medications more precisely for patients according to endotype.