Minor issue regarding customization of text size in Volcano and Heatmap Plots
2
0
Entering edit mode
@f31ab3f4
Last seen 23 months ago
United States

The text of MA plots can be customized, but I could not find a way to change the text size of the main title, axis and labels of Volcano, PCA and Heatmap plots. It would be great to have this feature, because sometimes figures have to be downsized to the point where they are not readable. Thanks. Cesar

DiffBind • 1.1k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 4 days ago
United States

From ?EnhancedVolcano, there are these arguments

axisLabSize: Size of x- and y-axis labels.

   title: Plot title.

subtitle: Plot subtitle.

 caption: Plot caption.

titleLabSize: Size of plot title.

subtitleLabSize: Size of plot subtitle.

captionLabSize: Size of plot caption.
ADD COMMENT
0
Entering edit mode

The problem is that the arguments are fixed and embedded in the DiffBind dba.plotVlocano function.

ADD REPLY
0
Entering edit mode
Rory Stark ★ 5.2k
@rory-stark-5741
Last seen 5 weeks ago
Cambridge, UK

I've added an option to dba.plotVolcano() to (silently) return the ggplot object (instead of the differentially bound sites). This will only be available in the development version for now (beginning with DiffBind_3.9.4) and will be part of the next Bioconductor release. Once you have the ggplot object, you can apply a theme to change things like font size.

ADD COMMENT

Login before adding your answer.

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