YinLiLin / CMplot

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

Takes extremely long to plot the figure #56

Open xiw588 opened 3 years ago

xiw588 commented 3 years ago

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)

YinLiLin commented 3 years ago

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?

xiw588 commented 3 years ago

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.

YinLiLin commented 3 years ago

Thanks for the feedback. Cheers!