Change the font size of the Y axis of a boxplot
0
0
Entering edit mode
5.4 years ago
akang ▴ 110

I have calculated the pairwise distances between populations using adegenet (R package) and have plotted them using a boxplot. Labels on the Y axis are overlapping so i want to change the font size. How do I do that? Here is my code

temp <- pairDistPlot(mydata, grp=mydata$pop)
temp$boxplot
R adegenet boxplot • 1.4k views
ADD COMMENT
0
Entering edit mode

From the manual:

The function pairDistPlot extracts and plots pairwise distances between different groups (graphs use ggplot2)

Have you tried using regular ggplot2 functions to change ylab text size?

ADD REPLY

Login before adding your answer.

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