Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
@amenehhashemzehi.bsky.socialDec 5, 2026, 3:22 PM

🧬 Single-cell QC should happen before UMAP.

In our cohort, nCount_RNA and nFeature_RNA cutoffs were set per sample before filtering. A shared mitochondrial cap prevented overly permissive sample-specific thresholds.

Details in image ALT.

#scRNAseq #SingleCellQC #Bioinformatics

Image 1/3: Violin plots showing raw single-cell QC distributions across 13 RNA samples: nFeature_RNA, nCount_RNA, and mitochondrial percentage. All deposited cells are shown before QC filtering.

Single-Cell QC Should Happen Before the UMAP Looks Beautiful

A commonly used cutoff in single-cell QC is not always a meaningful filter; sometimes that boundary is already built into the deposited data.

During the raw QC of one single-cell cohort in the project, an important pattern appeared in the count distribution:

No cells had nCount_RNA below 500, and several cells were positioned exactly at 500.

So if we had simply copied the commonly used 500 counts cutoff from a tutorial, it would not have filtered anything meaningful—the deposited data had already been constrained at that boundary.

The distributions were also clearly different across samples. In some samples, both nFeature_RNA and nCount_RNA covered a much broader range, with a substantially longer high-count tail.Image 2/3: Scatterplots of nFeature_RNA versus nCount_RNA across 13 samples, using log1p display scales. All raw cells are shown before QC filtering. The distributions and high-count tails differ across samples.

A single fixed threshold across all samples could therefore be too strict for one sample and too permissive for another.

For nCount_RNA and nFeature_RNA, the cutoffs were therefore derived from each sample's own distribution and locked before filtering, rather than being adjusted after seeing how many cells were removed.

Mitochondrial %, however, created a different problem.

Several samples showed a clear high-mitochondrial tail. If the mitochondrial threshold had been defined independently from each sample's own distribution, a poor-quality sample could effectively set an excessively high cutoff for itself.

In one sample, the mitochondrial Q95 reached approximately 92%.Image 3/3: Scatterplots of mitochondrial percentage versus nFeature_RNA across 13 samples. Detected genes are shown on a log1p display scale. Some samples have pronounced high-mitochondrial tails. No QC filtering has been applied.

For that reason, unlike nCount_RNA and nFeature_RNA, a shared mitochondrial cap was more defensible.

These three metrics capture different aspects of cell quality:

nCount_RNA → library size
nFeature_RNA → number of detected genes / library complexity
mitochondrial % → mitochondrial burden / potential cell stress or poor quality

In single-cell QC, a threshold is meaningful when it reflects the actual data distribution and the logic of that specific metric, not simply because the same number appeared in another tutorial.

#SingleCell #scRNAseq #SingleCellQC #DataQuality #Bioinformatics #CancerBioinformatics #ComputationalOncology #Transcriptomics