snapatac2.tl.marker_regions#

snapatac2.tl.marker_regions(data, groupby, pvalue=0.01)[source]#

A quick-and-dirty way to get marker regions.

Parameters:
  • data (AnnData | AnnDataSet) – AnnData or AnnDataSet object.

  • groupby (str | list[str]) – Grouping variable.

  • pvalue (float) – P-value threshold.

Return type:

dict[str, list[str]]