CM manhattan plot in R without default title
1
1
Entering edit mode
5.6 years ago
dp0b ▴ 80

Hi,

I want to plot a multi track manhattan and was using cmplot. However, I wish the final plot not to have the title manhattan plot at the top. Does any one no how I can edit it from the default? I have tried title=null, title= ' ', and changing the parameters par(mar=c(5,3,2,2)+0.1) Any suggestions would be much appreciated

library("CMplot")
data(pig60K)
CMplot(pig60K,plot.type="m",band=1,LOG10=TRUE,multracks=TRUE)

Many thanks.

R manhattan cmplot • 2.5k views
ADD COMMENT
0
Entering edit mode

Btw already asked on github issues : https://github.com/YinLiLin/R-CMplot/issues/4

ADD REPLY
2
Entering edit mode
5.6 years ago

You can either cover the title with a wonderful white rectangle using gimp or paint. Or modify the source code of CMplot, around line 870 and 1200 of CMplot.r you have plot creations with titles. Have fun !

ADD COMMENT
0
Entering edit mode

Thanks for your help! At least I know it requires a bit more than I thought I was missing!

ADD REPLY
0
Entering edit mode

If you're on linux and you want to rebuild the CMplot package to modify these lines, the first answer works well :

https://stackoverflow.com/questions/34800331/r-modify-and-rebuild-package

ADD REPLY

Login before adding your answer.

Traffic: 2644 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