scFlow icon indicating copy to clipboard operation
scFlow copied to clipboard

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

Open RHReynolds opened this issue 3 years ago • 0 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".

RHReynolds avatar Dec 01 '21 14:12 RHReynolds