Minor issue regarding customization of text size in Volcano and Heatmap Plots
2
0
Entering edit mode
@f31ab3f4
Last seen 15 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 • 883 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 6 hours 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.1k
@rory-stark-5741
Last seen 8 days 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: 569 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