Open Yung-Chien opened 4 years ago
Hi @YinLiLin , I would like to draw a Manhattan Plot to illustrate the distribution of Fst for each chromosome, so the range of y-axis should be set from 0 to 1. when I set the ylim as (0,1), I got this :
However, I wanted to add some scales in this axis, so I added some codes behind the plotting code as below :
- axis(2,at=seq(0,1,0.2))
And I got this
How can I fix this issue, thanks in advance.
Best Regards,
Yong Jian
Sorry I've closed this issue accidientlly.
Hi Yong Jian,
It seems that you used the previous version of CMplot, 3.3.3? I have updated CMplot to 3.4.0, and is on its way to CRAN. But you could directly source the online codes to use the latest version, please try source("https://raw.githubusercontent.com/YinLiLin/R-CMplot/master/R/CMplot.r")
in your R console and plot again to see if it has beed fixed.
Also please refer to the new online user manual, some novel functions have beed enriched in CMplot.
Cheers,
Lilin
Hi Yong Jian,
It seems that you used the previous version of CMplot, 3.3.3? I have updated CMplot to 3.4.0, and is on its way to CRAN. But you could directly source the online codes to use the latest version, please try
source("https://raw.githubusercontent.com/YinLiLin/R-CMplot/master/R/CMplot.r")
in your R console and plot again to see if it has beed fixed. Also please refer to the new online user manual, some novel functions have beed enriched in CMplot. Cheers, Lilin
Hi @YinLiLin ,
Wow, the 3.4.0 CMPlot solved my problem perfectly, here is my result:
I hope I could download the version 3.4.0 in CRAN soon, but I still appreciate that you developed this package.
Cheers,
Yong Jian
Hi @YinLiLin , I would like to draw a Manhattan Plot to illustrate the distribution of Fst for each chromosome, so the range of y-axis should be set from 0 to 1. when I set the ylim as (0,1), I got this :
However, I wanted to add some scales in this axis, so I added some codes behind the plotting code as below :
And I got this
How can I fix this issue, thanks in advance.
Best Regards,
Yong Jian