how to change axis labeling in limma density plot
1
0
Entering edit mode
adR ▴ 30
@do-it-23093
Last seen 8 months 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

Thank you! adr

desnity limma • 962 views
ADD COMMENT
1
Entering edit mode
@gordon-smyth
Last seen 5 minutes 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.

ADD COMMENT
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

ADD REPLY
0
Entering edit mode

No, xlab and ylab can't be changed.

ADD REPLY

Login before adding your answer.

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