Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quality Control (QC) #1

Open
7 tasks done
MicTott opened this issue Dec 14, 2023 · 0 comments
Open
7 tasks done

Quality Control (QC) #1

MicTott opened this issue Dec 14, 2023 · 0 comments

Comments

@MicTott
Copy link
Collaborator

MicTott commented Dec 14, 2023

QC roadmap

Step 1: Detect and remove empty droplets using DropletUtils::emptyDrops

  • Calculate barcode ranks (barcodeRanks) and export droplet scores
  • Visualize droplets scores using elbow plot

Step 2: Remove empty droplets and calculate QC metrics per droplet

  • Remove empty droplets
  • Ensure each species has the same mito genes
  • Calculate QC metrics (sum_umi, sum_gene, mito_percent; 'scuttle::addPerCellQC')
  • Detect outliers based on QC metrics (> 3 upper MAD for mito_percent, < 3 lower MAD for sum_umi/sum_gene) using scuttle:isOutlier
  • Detect doublets using scDblFinder::computeDoubletDensity with 2000 HVGs; drop if doubletScore >= 2.75.

NOTE: Because one sample had a bimodal distribution for mito_percent and 2 for sum_umi/sum_gene, I subset to all other samples to calculate a shared MAD for outlier detection (built in functionality of subset input for 'scuttle::isOutlier').

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant