How to add significant cut off in manhattan plot
0
0
Entering edit mode
5.8 years ago
Kumar ▴ 170

Hi, I need to add significant cut off value (<0.01) in my circular manhattan plot. Please see following code that I am using for plotting and link of plot.

CMplot(manhat,plot.type="c",r=0.6, col=c("grey30","grey60"),chr.labels=c("Chr1", "Chr2",  "Chr3", "Chr4", 
"Chr5","Chr6","Chr7","Chr8","9","Chr10","Chr11","12","Chr13","Chr14"),

 LOG10=TRUE, cir.chr.h=0.5,amplify=TRUE,threshold.lty=c(1,2),threshold.col=c("red",
"blue"),

 signal.line=1,signal.col=c("red","green"),chr.den.col=c("darkgreen","yellow","red"),
 outward=FALSE,file="jpg",dpi=600,file.output=TRUE,verbose=TRUE,width=10,height=10)

enter image description here

R • 2.6k views
ADD COMMENT
1
Entering edit mode

How exactly do you envision it to be added? Just as a number printed on the plot? Or via a line/asterisk/....?

ADD REPLY
0
Entering edit mode

Can you please elaborate your answer, I am not certain to understand?

ADD REPLY
0
Entering edit mode

What is your expected plot look like?

(please format your code, use some spaces, newlines.)

ADD REPLY
0
Entering edit mode

Here, is a example excel file for manhattan plot, that I need to put significant cut off values at each bar on circular manhattan plot.

SNP CHR BP  P   
 bio137 1   1077947 1.00E-05     
 bio237 1   849080  5.08E-05  
 bio337 1   387297  9.48E-04  
 bio437 1   643714  9.48E-04  
 bio537 1   1300841 1.17E-03  
 bio637 1   1307435 1.77E-03  
 bio737 1   68905   2.65E-03
ADD REPLY
0
Entering edit mode

It is still unclear what you want. Please try, and be it by hand in Powerpoint, to make a representative picture so people understand what you would like to do.

ADD REPLY
0
Entering edit mode

Hi, I need to add p<0.01 cut off for this plot.

ADD REPLY
1
Entering edit mode

Please do not delete posts that have received comments.

ADD REPLY
0
Entering edit mode

Please see How to add images to a Biostars post to add your images properly. You need the direct link to the image, not the link to the webpage that has the image embedded (which is what you have used here)

ADD REPLY

Login before adding your answer.

Traffic: 3324 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6