Abstract
Background Macrophages in atherosclerotic plaque take on different states. ABCA1, ABCG1 and their regulator LXR (NR1H3) drive cholesterol export, and the author's thesis measured them by qPCR in blood-derived macrophages in a dish. This reanalysis asks which macrophage state in human carotid plaque carries that program most strongly, and how much the answer depends on counting cells rather than patients.
Methods Public single-cell data from 15 carotid endarterectomies (GSE260657; 7675 deposited cells) were filtered, integrated with Harmony and reduced to 2692 macrophage-labeled cells. Of these, 2454 fell into three named states (resident-like, lipid-associated, inflammatory); the other 238 were left unresolved. Each cell was scored for a cholesterol-efflux/LXR gene set (ABCA1, ABCG1, NR1H3, APOE) and an inflammatory set whose genes were kept apart from those used to name the inflammatory state. States were compared with patient as the unit: a mean per patient per state, then a paired Friedman test across the 11 patients with at least 10 cells in every state. The same comparison with each cell counted separately (Kruskal-Wallis) is shown for contrast.
Results The efflux/LXR score was highest in the lipid-associated state: patient means 0.448, 0.278 (inflammatory) and 0.19 (resident-like); p = 0.0010. The held-out inflammatory score was highest in the inflammatory state (0.834; p = 0.0003). Patient identity explained about 24% of the remaining cell-to-cell variation, a design effect of 42.1: the 2454 cells carry roughly the information of 58 independent observations. Counting cells instead of patients gave p = 1.4e-62 for the same efflux contrast.
Conclusions In these plaques the cholesterol-efflux program sits mainly with lipid-associated macrophages, and the pattern holds when patients rather than cells are counted. Transcript levels are not efflux, the data were filtered before deposition, and fifteen plaques at one timepoint cannot show whether lipid loading drives the program or follows it. Two errors found during the analysis, a circular test and a mixed model that silently dropped patient variance, are described on the page.
Keywords atherosclerosis, carotid plaque, macrophage states, single-cell RNA-seq, cholesterol efflux, LXR, pseudoreplication, GSE260657
At a glance
I rescored public single-cell data from carotid plaque to see which macrophage state carries the cholesterol-efflux program, counting patients rather than cells. The three results below are computed live from the files listed at the end.
- The efflux program sits with lipid-associated macrophages. Averaged within each patient, the score is 0.448 in the lipid-associated state, against 0.278 and 0.19 in the inflammatory and resident-like states (11 patients, Friedman (paired within donor), p = 0.0010).
- Counting cells overstates the evidence. The 2454 cells behave like about 58 independent observations. Treated as independent, they give p = 1.4e-62 for the same contrast. You can switch between the two below.
- Two of my own errors flattered the result. One was a circular inflammatory test and the other a mixed model that set patient variance to zero. Both are fixed and described below.
Try the live comparison, or download the scored cells and the deposition manifest.
The question
Macrophages in a plaque do not all look or behave alike: some are packed with lipid, some express cytokines, and some have a quieter, more resident-like profile.
ABCA1 and ABCG1 are cholesterol-export pumps. LXR turns both on. Those genes were measured by qPCR in macrophages differentiated from the blood of 60 participants, which is a slow way to answer a fairly narrow question in a dish.
The question here is which macrophage state carries that program most strongly in human plaque. The source study fixed the conditions, which is what makes the comparison worth making.
Getting the data
GSE260657 comes from NCBI GEO. It holds fifteen carotid endarterectomies, one file per patient, with every gene counted in every cell, in eighty-two megabytes.
The series description reports 7690 cells. The headers of the 15 deposited matrices add up to 7675, which is 15 fewer. I use the deposited count and keep both numbers here.
The matrices are genes by cells. Scanpy expects cells by genes, so I transpose each one on import and check the result. A wrong transpose does not necessarily throw an error. It can produce perfectly ordinary-looking nonsense.
Quality control
Some wells hold a dying cell, some hold debris, some hold nothing at all. Usual practice is to set a floor for genes detected and a ceiling for mitochondrial reads, then drop whatever falls outside.
In the full workflow, the usual fixed cutoffs removed nothing. A later outlier rule, based on this dataset's own distribution, removed 463 cells.
The lower edge of the counts is abrupt at about 50,000. That is what I would expect after filtering, not from untouched wells.
This archive starts after filtering and lineage selection. It can show the retained macrophages. It cannot bring back the excluded cells or prove that 463 was exactly the right number to remove. The raw analysis is separate.
Patient and plate effects
Each patient's cells were processed on that patient's own plate. If one donor sits apart on a cell map, that is ambiguous between plaque biology and a plate effect, and the design does not separate them cleanly.
Clusters and the map come from Harmony. The export carries the final embedding and the donor label for each macrophage-labeled cell.
Harmony mixes donors better, but it may also erase some real donor-to-donor difference. I use it for clustering and visualization. I do not use the corrected coordinates as the outcome of a statistical test.
For the comparison below, I go back to the program scores and average cells within a patient.
Which cells enter the analysis
Most plaque cells are not macrophages. The full analysis scores lineage markers first and keeps the macrophage-labeled cells. This compact archive begins after that step. It does not contain the expression matrix needed to repeat the lineage call from scratch.
There are 2692 exported macrophage-labeled cells, of which 2454 enter the three-state comparison. The other 238 stay as unresolved myeloid clusters. Folding them into one of the three names is possible, but the data does not justify it.
Three named macrophage states
After removing the other lineages and clustering the macrophages again, these are the three groups I could name with some confidence.
| State | What it is | Cells |
|---|---|---|
| Resident-like | housekeeping, quiet | 991 |
| Lipid-associated | cholesterol-loaded, foam-cell-like | 530 |
| Inflammatory | cytokine-producing | 933 |
| Unresolved myeloid | not forced into a named state | 238 |
The first clustering is mostly about separating macrophages from smooth muscle and endothelial cells. That does not help much with differences between macrophages, so I repeat the feature selection inside the subset.
The program comparison uses the 2454 cells in the three named groups. The 238 other cells remain in the downloadable table and the donor accounting plot, but I leave them out of that contrast.
Scoring the genes
I score two small gene sets per cell. The first contains ABCA1, ABCG1, NR1H3 and APOE. The second is inflammatory. The inflammatory genes used for this test are held out from the genes used to name the inflammatory state.
A raw mean would reward cells with deeper sequencing. The score subtracts matched control genes to reduce that problem. Checked against total counts, no program score correlated with read depth above 0.22.
Counting patients or cells
The choice that matters most here is what counts as one observation: a donor or a cell.
Loading…
After removing the average difference between the three states, the donor still accounts for about 24% of what varies from cell to cell (ICC estimate 0.236). With an average of 175.3 cells per donor, that gives a design effect of 42.1. The 2454 cell rows therefore carry information closer to about 58 independent observations, not 2454. Treating all cells as independent makes the standard errors about 6.5 times too small.
Two errors in the analysis
The first version of the inflammatory test was circular. Inflammatory genes both named the state and were tested across the states, so the inflammatory state won by construction. Splitting the panel, one half for naming and one for testing, moves p from 0.003 to 0.12.
A mixed model reported success while failing. Its default optimizer set the between-patient variance to zero, which reduces it to a cell-level analysis. Other optimizers put the variance near 0.27. The quantity is now calculated separately, and a fit that disagrees with it is rejected.
Both errors flattered the result.
Limitations
ABCA1 mRNA is not cholesterol efflux, and IL1B mRNA is not active IL-1beta. This is transcription, not a functional assay.
The deposited data had already been filtered. I do not have a record of every upstream choice. The gene panels are choices as well. Mine are small and familiar, but a different panel would give different scores.
These are 15 plaques at one timepoint. The data cannot tell whether lipid loading caused the program or followed it. The original study focused on smooth muscle cells, so this may not be an ideal sample of plaque macrophages either.
Finally, this archive reproduces the figures and live statistics from the exported macrophage table. It does not rerun the raw single-cell pipeline. That means filtering, integration and lineage selection can be inspected here, but not recreated here.
Reproduce and inspect
The web app, generated figures, scored macrophage table, deposition manifest and tests are available as one compact source archive. No JavaScript build step is required.
Show the local reproduction commands
python -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
python build_figures.py
python -m unittest discover -s tests -v
python app.py