Hi Elena,
I completely understand the confusion. Hopefully I can clear it up a little bit.
So we use the tool CELLEX to calculate our expression specificity scores. It takes the average of 4 scores which all capture specificity (relative to other cell types/tissues) in somewhat independent ways, you can read more on how this works in Timshel et al. 2020, in appendix 2.
After these 4 scores are calculated, they are normalised within each cell type/tissue onto a 0 to 1 scale. This means the final score is a rank on that cell type/tissue’s internal leaderboard of specifically expressed genes.
So for the oesophagus, although a tissue like stomach has higher median expression it likely has other, highly expressed genes that are specific to stomach and shift MUC5B down the within-tissue ranking whereas for oesophagus there are fewer genes to “compete” that are more specifically expressed, if that makes sense.
For the cell types within tissues (e.g. mature NK T cell in trachea) there are likely a few factors at play. In scRNA-seq extracellular or ambient RNA (RNA that was inside cells which have died/lysed) can be captured together with cells in droplets meaning you can see epithelial transcripts in cells labelled as immune cell types. Doublets, where two different cells are sequenced together, can also result in a similar effect. The Tabula Sapiens team will have gone to great lengths to prevent this during processing and correct for this computationally but when generating data at this scale, nothing is perfect.
Now our specificity tool CELLEX is likely seeing one or a handful of pseudobulked samples with expression of these genes, potentially as a result of the above. And because these datasets are generated from only a handful of individuals, one or two samples may be moving the needle on the specificity scores whilst leaving the median unaffected.
In general, when ingesting expression data we tried to take a light touch because the data generators will have performed their own quality controls and our attempts to further remove artefacts may end up masking true biology. But it’s still possible we will revisit this later on.
If you’re curious, you can browse the Tabula Sapiens dataset here and subset for cells expressing MUC5B > 0 to see this in the data.
Let me know if anything is unclear,
Tobi