YinLiLin / CMplot

📊 Circular and Rectangular Manhattan Plot
520 stars 112 forks source link

Circular manhattan with two traits, adjust -log10(p) axis to align between traits #77

Open Xenophong opened 2 years ago

Xenophong commented 2 years ago

Hi, thanks so much for this fantastic visualization tool, but most of all, for maintaining it and being here for us, answering questions like this one:

I would like to make a circular manhattan plot with two traits, and I want to have the same y-axis limits on the -log10(pvalue) red line for both traits, so they can be directly comparable.

Am I missing something from the manual? Do you have any suggestion? Also is it possible to just color per trait instead of chromosome?

Screenshot 2022-08-25 at 23 19 16
YinLiLin commented 2 years ago

Thank you for using CMplot. Did you try it like CMplot(..., ylim=c(0, 7))? It should work for your situation.

Xenophong commented 2 years ago

yes, thanks, and sorry for the obvious answer! :)