Question: CM manhattan plot in R without default title
1
gravatar for dp0b
2.3 years ago by
dp0b60
dp0b60 wrote:

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.

manhattan R cmplot • 1.4k views
ADD COMMENTlink modified 10 months ago by Biostar ♦♦ 20 • written 2.3 years ago by dp0b60

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

ADD REPLYlink written 2.3 years ago by Bastien Hervé4.9k
2
gravatar for Bastien Hervé
2.3 years ago by
Bastien Hervé4.9k
Karolinska Institutet, Sweden
Bastien Hervé4.9k wrote:

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 COMMENTlink modified 2.3 years ago • written 2.3 years ago by Bastien Hervé4.9k

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

ADD REPLYlink written 2.3 years ago by dp0b60

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 REPLYlink modified 2.3 years ago • written 2.3 years ago by Bastien Hervé4.9k
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: 1262 users visited in the last hour