Shians / NanoMethViz

https://shians.github.io/NanoMethViz/
Apache License 2.0
24 stars 1 forks source link

legend missing on the plot #41

Open selmapichot opened 5 months ago

selmapichot commented 5 months ago

Hi, I am analysing two groups (h1, h2) and trying to plot the methylation levels with the plot_region function, however, I have noticed that sometimes the legend on the plot show both groups, which is is fine. But sometimes only one group over two is reported (just h1 in this case) whereas I can clearly see on the plot the two groups. Is this just a bug or is there another explanation ? Many thanks. TB21_01232_normal_SETD2

Shians commented 5 months ago

I think the plot is very squished and it's hard to say exactly what is happening. Could you maybe plot this on a larger fig.height and fig.width or a larger window? Let me know if you need help on how to do that.

selmapichot commented 5 months ago

I have tried increasing the fig.height and width using this plotting parameters png("TB21_T_pbrm1_highres.png", width = 2400, height = 1800, units = "px", res = 600) But it is still very squashed, any advice would be greatly appreciated :) Many thanks