If you’re one of the nearly 25 percent of people with the gene variant known as APOE4, you have a higher-than-average chance of developing Alzheimer’s disease. But while scientists have long known that APOE4 leads to changes in the brain that can contribute to dementia, the exact mechanism of that effect has been unclear.