Changing box plot font sizes for axes and labels in DiffBind
0
0
Entering edit mode
@mthabisi-moyo-9721
Last seen 11 weeks ago
United States

I have been trying to change font sizes for my box plots in DiffBind:

dba.plotBox(x, th = 0.05, pars = list(cex.axis=1.5, cex.main=2, cex.lab=1.5))

I have also tried the following variation:

dba.plotBox(x, th = 0.05, cex.axis=1.5, cex.main=2, cex.lab=1.5)

I assumed that these arguments would be passed to boxplot() but that does not seem to be working; boxplots with the default font sizes are being plotted regardless of the cex.axis argument. To try and diagnose the problem, I have gone from cex.axis=0.1 all the way to cex.axis=100 and it still returns the same plot. Is there a formal way to specify arguments for altering font sizes and maybe label and plot titles in dba.plotBox()? I would prefer to be able to do this in Diffbind without having to re-draw the plot directly with boxplot().

Thanks!

 

diffbind • 2.4k views
ADD COMMENT
0
Entering edit mode

I looked at the internal code and this does appear to be a bug.  The documentation advertises that the "..." can be additional arguments to the boxplot function but the code does not reflect this.  I have reached out to the maintainer to report this.  

ADD REPLY
0
Entering edit mode

Bug has been logged and will be fixed. -R

ADD REPLY

Login before adding your answer.

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