heche-psb / wgd

wgd v2: a suite of tools to uncover and date ancient polyploidy and whole-genome duplication
https://wgdv2.readthedocs.io/en/latest/
GNU General Public License v3.0
21 stars 0 forks source link

A tutorial to customization of plots in Python? #18

Closed taprs closed 1 month ago

taprs commented 6 months ago

Hi Hengchi!

While getting to use the pipeline more, I noticed that I am often tempted to tweak many aspects of the plots output at every stage. To name a few examples:

I think it might be an overkill to have all of the plotting options as the wgd command arguments, but is it maybe not so difficult to recreate the plots with some self-tinkered options using Python? So far I had to reinvent some of the wheels myself.

Maybe it would be sufficient (and actually very cool) to have some of the simple tweaks of the main plot types (any of those mentioned above would work I guess) in a tutorial that would show how to use the Python functions of the pipeline given the pre-generated results.

Cheers, Nikita

heche-psb commented 2 months ago

Thanks for the suggestions! I will make the plotting function more complete and versatile.