About model.differential analysis

How do I do if I want to find out differential expressed genes between groups for each cell type.

Btw, Im still a bit confused about the difference between the “group” and the “idx” parameter.

Thanks for ur help!