scirpy
scirpy copied to clipboard
Refactoring group_abundance.
The current group_abundance function is relatively slow. Also I don't like the name too much.
barplot or stackedbarplot is better. x, y and color are better argument names.
Maybe this could even be merged upstream into scanpy.
See also: https://sc-dandelion.readthedocs.io/en/master/api.html#module-dandelion.plotting
- [ ] sort plot segements (#186)
- [ ] get colors from anndata
- [ ] get variables not only from obs, but also airr, X, obsm etc.
Related #186 Related #247
This is a priority now, as with the new data structure, some poor design choices surface. But we can do this after merging #327.