pegasus.find_outlier_clusters¶
- pegasus.find_outlier_clusters(data, cluster_attr, qc_attr)[source]¶
Using MWU test to detect if any cluster is an outlier regarding one of the qc attributes: n_genes, n_counts, percent_mito.
- Parameters
data (
MultimodalData
orUnimodalData
object) – Annotated data matrix with rows for cells and columns for genes.cluster_attr (
str
) – Attribute in data.obs representing cluster assignment, e.g. ‘louvain_labels’qc_attr (
str
) – One of the QC attribute, choosing from ‘n_genes’, ‘n_counts’ and ‘percent_mito’.
- Return type