This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Change the font size of the Y axis of a boxplot

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

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?

0 answers

No answers yet.

Log in to answer this question.