Closed dputhier closed 5 years ago
I think simple ideas can be the best. A simple scatter plot of the fold change of N vs the fold change of S might be enough. We could plot log(FC) or 1/FC or any other transformation to emphasize small differences.
I added a volcano as suggested by Guillaume.
As it requires to compute -log10(pval) I have changed the pval == 0 to 1e-320 (just for plotting the diagram). @qferre tell me if its ok to set them to1e-320 . The N and S statistics are treated in the same plot:
Note that the current implementation of ggrepel in plotnine seems to be still in dev so I'm using transparent labels at the moment...
41137fbd349fcf778a1d8cc02a409a9d1c50fadd
Putting them at 1e-320 should be okay. I did the same modification for the histograms. Great job :) Could you add it to the documentation as an example ?
It will be included in the html frame in which the pdf output is enclosed. I was thinking about adding it to the homepage of the doc (?).
Sounds like a good idea to me :)
Any idea ? Maybe a simple scatter plot...