CMplot icon indicating copy to clipboard operation
CMplot copied to clipboard

Rectangular manhattan plot - color the signal with 2 different significance lines

Open dianacornejo opened this issue 1 year ago • 2 comments

Hello, I wonder if its possible to color the signals above the 2 significance lines in the same way. What I'm seeing is for example those below 3x10-7 they are being color correctly and those below 2.5x10-6 are shown in gray. It is possible to change this behaviour for all off them without caring if they are below -6 or -7 to have the same colors??? This is an example of my manhattan plot. Thank you

Screenshot 2024-08-01 at 3 35 16 PM

dianacornejo avatar Aug 01 '24 19:08 dianacornejo

You may try to use highlight function.

YinLiLin avatar Aug 08 '24 02:08 YinLiLin

Agreed, just collect the SNPs above the lower line into a factor. I think the alternate color setting here was demonstrated in the README.

EasperOne avatar Aug 08 '24 13:08 EasperOne