This is a test version of Biostars. For the public version, visit https://www.biostars.org.
CM manhattan plot in R without default title

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

1 answer

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 !

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

Log in to answer this question.