-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frequency Chord diagram and Heatmap in Python #85
Comments
Hi @maximelepetit, Thanks for opening an issue! I will do my best to have at least one implemented soon. In the meantime, ChatGPT does an excellent job when generating network plots with networkx. And a plot with https://github.com/DingWB/PyComplexHeatmap should be relatively quick to make :) Best wishes, |
Hi Daniel, For Chords diagrams i found an easy and quickly way with pyCirclize :
|
You can highlight specific groups :
;) |
Alternatively you can generate Sankey plot through pySankey :
|
Hi @maximelepetit, Thanks a lot for all your suggestions! I plan to do a rehaul of liana's plotting functions, and I will make sure these are included also. Daniel |
Hi, I feel like it's also good to have a hypothesis driven layout, showing the specific sender-ligand -- receptor-recepient pairs, with for example senders on one sphere and recepients on another and the color by any score, like the magnitude, or the significance, rank, lrmean, or change between conditions. while so far for convenience with same information we can simply show bar/dot plots and to compare the same pair in different conditions, which metric is recommended to be tested? combined rank or individual continous magnitude metric? |
Hi @brainfo, thanks for the suggestion. I'm still working on refactoring the algorithmic side of liana, but once I'm done with that. I will refactor the functions and extend them with the suggestions here. re comparing across conditions: there are a few tutorials, e.g. using differential expression analysis with liana and PyDeSeq2, or the tutorials with MOFA or Tensor-cell2cell. I would suggest checking those 🙂 though you could compare most scores as long as you normalize such that your conditions are comparable prior to running liana. Hope this helps. |
Hi, I am aware of the scope of LIANA+ project in ligand receptor interaction imputation but not downstream usage of the lr results.
I have most of the scripts for these and not sure if it's something relevant to this open issue. |
Hi @brainfo, TBH, I realize that I should provide a bit more visualisations, so suggestions are welcome. Please feel free to open an issue with your suggestions, and I will do my best to find time to implement them :) |
Hi, what I did is like,
|
Hi ,
Thanks a lot for this useful tool !
I'm running Liana and i'm curious that you cannot provide methods to generate Chord diagram or heatmap as in the liana R wrapper.
Have you planned to add these methods ?
Best regards,
Maxime
The text was updated successfully, but these errors were encountered: