IdentifyOutliers: Identify oulier clusters

View source: R/IdentifyOutliers.R

IdentifyOutliersR Documentation

Identify oulier clusters

Description

This function identifies clusters of cells based on QC metrics of interest. Groups are classed as outliers if the median for a given metric falls outside the provided quantiles.

Usage

IdentifyOutliers(
  seurat_obj,
  group_by = "seurat_clusters",
  metrics,
  intersect_metrics = TRUE,
  quantiles
)

Arguments

seurat_obj

Seurat object

group_by

column to group cells by

metrics

array of metrics to test for outliers

intersect_metrics

boolean value for whether to intersect the outliers for each metric

quantiles

Percent quantiles to plot on bar plots. Must be an array (length 2) with lower and upper percent quantiles

Value

array of clusters which are outliers


alexthiery/scHelper documentation built on Aug. 26, 2023, 3:42 p.m.