Marker gene selection: rank_marker_genes vs diffxpy

Dear community,

I have a snRNAseq dataset of 4 samples and 2 conditions (2 samples per condition). The experimental samples differ from the control ones in that some cell types have lower numbers due to an specific genetic ablation approach.

Now I want to identify marker genes for the cell types identified in my dataset and I face 2 options according to what I have read:
-Use scanpy rank_gene_groups, considered only good for exploratory analysis according to scanpy authors
-Use diffxpy, a much more powerful tool

Given this introduction, it would be obvious to go for diffxpy, however my impression is diffxpy is more geared towards hardcore differential expression between conditions rather than marker gene selection between cell clusters…now my question is: am I wrong? Can I use diffxpy for marker gene selection? If yes, how? what would be the test to run in diffxpy?

Thanks!

A