CMplot icon indicating copy to clipboard operation
CMplot copied to clipboard

Using different genome-wide threshold lines per trait

Open JavierMenRev opened this issue 5 years ago • 2 comments

Thank you for the very useful function.

I was wondering if it would be possible to add different cut-offs lines for each trait in a circular Manhattan plot. I am actually using the CMplot function to plot different Manhattan plot based on a selection scan, and each trait (in this case population) has a different genome-wide significant value.

JavierMenRev avatar Nov 29 '20 18:11 JavierMenRev

Thank you for using CMplot. Sorry that it's not supportable at current version, but it's do really a good suggestion, I will add this function in the next update of CMplot.

YinLiLin avatar Dec 03 '20 04:12 YinLiLin

Hi, I just update CMplot for the issue you proposed about the parameter 'threshold' on GitHub, you can achieve it as following: threshold=list(c(1e-6,1e-4), NULL, 1e-5), each list contains a vector of thresholds for each trait, NULL means no threshold for corresponding trait, the update on R CRAN will be finished at the coming days, please source the online version and try again.

YinLiLin avatar Mar 25 '21 09:03 YinLiLin