YinLiLin / CMplot

📊 Circular and Rectangular Manhattan Plot
499 stars 111 forks source link

Is there a way to change bold of axis ticks and axis labels? #84

Open wsweishang opened 1 year ago

wsweishang commented 1 year ago

Hi YinLiLin and everyone:

I have plotted manhattan and qq plot by using CMplot, and I also have noticed the manhattan and qq plot have different bold styles of axis ticks like that:

total assoc lmm gwas combineplot

So is there a way to change bold of axis ticks and axis labels? By the way, I can not find the "xlab" parameter by th way, has it been removed? and how could I add xlab if it have been removed?

YinLiLin commented 1 year ago

Sorry that there is no relevant parameter to change bold of axis ticks or axis labels, you may need to use third part software to edit it.

wsweishang commented 1 year ago

And what about the "xlab" parameter? has it been removed?

YinLiLin commented 1 year ago

Yes, it had been removed in a very early version.

wsweishang commented 1 year ago

How could I add xlab if it have been removed?

YinLiLin commented 1 year ago

You can try to download the script and add a new line at https://github.com/YinLiLin/CMplot/blob/045db438fbcd7c4d7302269e11e8b109d7c31f68/R/CMplot.r#L1525, e.g., mtext(side=1, text="yourtext", line=3, ...), then source it locally and try again.