how to change axis labeling in limma density plot
1
0
Entering edit mode
@do-it-23093
Last seen 8 days ago
Germany, München

Hello everyone, I was using limma::plotDensities.default() to see the distribution of my read across sample. Would it be possible to change the font size and axis labeling in the graph? I used the argument xlab and ylab options, but did not see the name I wanted

limma::plotDensities.default(object = exp, xlab = "sample", ylab = "expression")


This method just returns the density and intensity labels in the x and y axes, respectively

desnity limma • 184 views
1
Entering edit mode
@gordon-smyth
Last seen 2 hours ago
WEHI, Melbourne, Australia

The easiest way to increase the size of the labelling is to decrease the height and width of the plotting window. All the line widths and font sizes will increase automatically relative to the size of the plot. This is better than trying to manipulate font sizes individually because everything will be kept in proportion.

Just as a minor point, it is never necessary to call plotDensities.default explicitly. Just use plotDensities and the correct method will be dispatched automatically.

0
Entering edit mode

Gordon Smyth thank you so much! That was excellent reply. The axis labels (xlab and ylab) cannot be changed, however? best, adr

0
Entering edit mode

No, xlab and ylab can't be changed.