strejcem / MALDIvs16S

Whole-cell MALDI-TOF MS versus 16S rRNA gene analysis in dereplication and identification of recurrent bacterial isolates
GNU General Public License v3.0
3 stars 0 forks source link

Output dendrogram #1

Open cdumolin opened 5 years ago

cdumolin commented 5 years ago

Is there an easy way to change the lable size of the dendrogram by using the command : PDFplot(MS$hc, file = "dendrogram.pdf", cutoffs = c(1-0.79, 1-0.92))? I would like to change it to a smaller font size.

strejcem commented 5 years ago

Hi! Sorry I was on a long holiday. I added ellipsis (...) to PDFplot() function so now you can pass the plot() function arguments to change the dendrogram properties.

In your case, try PDFplot(MS$hc, file = "dendrogram.pdf", cutoffs = c(1-0.79, 1-0.92), cex = 0.5). See plot() documentation for more.

Michal