zktuong / ktplotspy

Python library for plotting Cellphonedb results. Ported from ktplots R package.
https://ktplotspy.readthedocs.io/
MIT License
46 stars 12 forks source link

Propose to use Marsilea for visualization #74

Open Mr-Milk opened 1 month ago

Mr-Milk commented 1 month ago

Thanks for porting this package from R.

I'm the developer of Marsilea, a visualization package that can easily replicate plots in ktplots. Would you like to use Marsilea in ktplotspy?

We have a tutorial in scanpy https://scanpy.readthedocs.io/en/stable/how-to/plotting-with-marsilea.html that showcases how to use Marsilea with AnnData. You will find examples like:

image

If you think this is a good idea, I'm happy to help with the implementation.

zktuong commented 1 month ago

Hi @Mr-Milk , that looks awesome! Yea i think we can collaborate on this if you think it's feasible to do it? I'm not very well versed with matplotlib so i will probably need a lot of guidance from you! The chord diagram or circos plots isn't really quite working so i would be keen to hear if you have any suggestions on how to implement them here.

Mr-Milk commented 1 month ago

Thanks for your interest! I'm very happy to help. We can start with one plot to see if you like it.

I'm not an expert on the chord diagram or circus plots. But I saw you have another issue mentioning pyCirclize. I think it should fit the need.