SOAPy_st.tl.cal_aucell

SOAPy_st.tl.cal_aucell(adata: AnnData, signatures: dict, gene_percent: float = 0.05, inplace: bool = True, **kwargs) AnnData

AUCell scores were calculated for given gene lists. For more information about AUCell, see https://www.nature.com/articles/s41596-020-0336-2

Parameters

adataanndata.AnnData

An AnnData object containing spatial omics data and spatial information.

signaturesdict

The name of each gene set and the corresponding gene list.

gene_percentfloat, optional

The fraction of the ranked genome to take into account for the calculation of the area Under the recovery Curve.

inplacebool, optional

Whether to change the original adata.

kwargs:

Other Parameters of pyscenic.aucell.aucell.

Returns

  • anndata.AnnData.uns ['SOAPy']['global_moran'] - AUCell score of signatures