Do you know any tutorial to generate fractions of immune cells from total cells as in figure (e) of attached image between two condition. Could not find any script to do that. Really appreciate your help.
If you have reference data sets (basically annotated single cell data), you can use SingleR. Moreover, CellTypist has built-in references and seems to be doing a good job in terms of immune cell types.
You can annotate your cells based on your UMAP clusters. Usually, this is done at multiple resolutions. Once you have your cells properly annotated, you can use tools like scCODA (python) to perform compositional analysis.