<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Writing on Sindri Antonsson</title><link>https://antonsson.is/writing/</link><description>Recent content in Writing on Sindri Antonsson</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 04 Dec 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://antonsson.is/writing/index.xml" rel="self" type="application/rss+xml"/><item><title>Predicting patient disease from single-cell data: pseudobulks, site shifts and ambient RNA</title><link>https://antonsson.is/writing/single-cell-patient-classification/</link><pubDate>Fri, 04 Dec 2026 00:00:00 +0000</pubDate><guid>https://antonsson.is/writing/single-cell-patient-classification/</guid><description>&lt;p&gt;If you want to predict a patient&amp;rsquo;s disease state from single-cell or single-nucleus RNA-seq data, your sample size is the number of donors, not the number of cells. Tens of thousands of cells still only give you a few dozen data points at the patient level.&lt;/p&gt;&#10;&lt;p&gt;That raises two practical questions that I wanted to test on a real multi-center heart atlas. First, once you split properly by donor, do neural models that read every cell (like DeepSets or Attention-MIL) actually beat a regularized linear model on per-cell-type averages plus cell-type proportions, especially on a held-out collection site? Second, in tissue like heart muscle, lysed cardiomyocytes dump huge amounts of &lt;code&gt;NPPA&lt;/code&gt;, &lt;code&gt;NPPB&lt;/code&gt;, &lt;code&gt;MYH7&lt;/code&gt; and &lt;code&gt;TTN&lt;/code&gt; into the ambient suspension. If a model trained only on macrophages or endothelial cells predicts heart failure well, is it picking up real changes in those cells, or just reading cardiomyocyte soup?&lt;/p&gt;</description></item></channel></rss>