tomas.auxi.extract_specific_genes

tomas.auxi.extract_specific_genes(adata_psgl, groupby, pval=0.001, logfc=0)

Extract specifically highly expressed genes of each cell type based on DE results.

Parameters:
  • adata_psgl (AnnData) – UMI matrix of putative singlets (homotypic droplets).

  • groupby ('str') – The key of the cell type annotation results stored in adata.obs.

  • pval (float, optional) – Cutoff of p value to extract significant DE genes. The default is 0.001.

  • logfc (float, optional) – Cutoff of log2Fold-change to extract cell-type-specific DE genes. The default is 0.

Returns:

degene_sorted – Identified heterotypic doublets composed by the input cell type pair.

Return type:

list