Tumor cell intrinsic and extrinsic features predict prognosis in estrogen receptor positive breast cancer. Here, ESR1 is linked to breast cancer.