Question: How to improve legend of circular manhatton
0
gravatar for Manoj
5 months ago by
Manoj30
Canada
Manoj30 wrote:

I need to improve my circular manhattan plot. Please see plot at following link, where I need to change names of circular legend such as bio34, bio78 and so on rather than Chr1..Chr14. Here, is my code that I am using for this plot, please suggest improvement in the code..

CMplot(manhat,plot.type="c",r=0.4,col=c("grey30","grey60"),chr.labels=paste("Chr", c(1:14,"X"),sep=""), LOG10=TRUE,
cir.chr.h=1.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"),
bin.size=1e6,outward=FALSE,file="jpg",memo="",dpi=600,file.output=TRUE,verbose=TRUE,width=10,height=10)

https://ibb.co/s2VMHcs

R • 214 views
ADD COMMENTlink modified 5 months ago • written 5 months ago by Manoj30

How to add images to a Biostars post

ADD REPLYlink written 5 months ago by WouterDeCoster43k
0
gravatar for zx8754
5 months ago by
zx87549.0k
London
zx87549.0k wrote:

Just a guess, I think you need to change this:

chr.labels = paste("Chr", c(1:14, "X"), sep = "")

to:

chr.labels = c("bio34", "bio78", ...)
ADD COMMENTlink written 5 months ago by zx87549.0k

Thanks, moving forward, how to put scale log10 for p-value in the code.

ADD REPLYlink modified 5 months ago • written 5 months ago by Manoj30

Also, I need legends inner side of the circle rather than out side...

ADD REPLYlink written 5 months ago by Manoj30

Ask a new question.

ADD REPLYlink written 5 months ago by zx87549.0k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1436 users visited in the last hour