netmap.downstream.final_downstream.filter_signatures_by_Ucell

netmap.downstream.final_downstream.filter_signatures_by_Ucell(grn_adata, adata, ncores: int = 100) DataFrame

Filters gene signatures by cluster and computes UCell scores.

Parameters:
  • grn_adata (AnnData) – AnnData object containing GRN (gene regulatory network) information.

  • adata (AnnData) – AnnData object containing gene expression counts in the ‘counts’ layer.

  • ncores (int, optional) – Number of cores to use for parallel computation, by default 100.

Returns:

DataFrame with UCell scores merged with the ‘spectral’ cluster labels.

Return type:

pd.DataFrame