combiz / scFlow

Single-cell/nuclei RNA-seq analysis tools in R for a complete workflow.

Home Page:https://combiz.github.io/scFlow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Permit users to decide which tails to test for mitochondrial content outlier detection

RHReynolds opened this issue · comments

Description of feature request

When thresholding mitochondrial content, scater::isOutlier() is used with the argument type = "both". This tests both tails of the distribution of mitochondrial content for outliers. While this makes sense for single cell, for single nucleus we should only test the higher end of the distribution (see OSCA Advanced, Section 11.2).

Description of solution

Permit users to input type in scater::isOutlier() when used for quality control of mitochondrial content in annotate_sce_cells(). For backwards compatibility, default argument can be set to "both".