CMplot icon indicating copy to clipboard operation
CMplot copied to clipboard

Takes extremely long to plot the figure

Open xiw588 opened this issue 4 years ago • 3 comments

Hi, I want to ask if anyone having the same issue with me that it takes extremely long (eg 1h) to plot the figures of qqplot and Manhattan plot. Is this normal? Here I pasted the code I used.

CMplot(AD,plot.type="q",box=FALSE,file="jpg",memo="",dpi=300, conf.int=TRUE,conf.int.col=NULL,threshold.col="red",threshold.lty=2, file.output=TRUE,verbose=TRUE,width=5,height=5)

xiw588 avatar Sep 30 '21 16:09 xiw588

How many SNPs in your data? it's abnormal to take so much time to just draw a qqplot. Did you try the latest version of CMplot?

YinLiLin avatar Oct 05 '21 02:10 YinLiLin

Hi LiLin, Thank you for your response! I just figured this out that actually the wrong order of the columns extended the time of plotting forever and it takes just less than 1min with the correct order. Thank you for developing such a great package.

xiw588 avatar Oct 05 '21 02:10 xiw588

Thanks for the feedback. Cheers!

YinLiLin avatar Oct 05 '21 02:10 YinLiLin