[R-sig-phylo] Query about Phylogenetics in R

2016-08-31 Thread Bhuller, Ravneet
Dear All, I am trying to construct a phylogenetic tree (neighbour joining) using either APE or PHANGORN in R. But, since I have got 220 strains of bacteria in my data, the resulted tree is not very clear. The branch labels are so much overlapping that they cannot be read at all. Is there any

Re: [R-sig-phylo] Query about Phylogenetics in R

2016-08-31 Thread Vojtěch Zeisek
Hello, if onlythe readibility of the labels is the issue, what about using svg() function? It produces a SVG file which You can open in almost any vector editor (like Inkscape) andmove the labels around. Chech ?svg for possible settings and play with them little bit. They vary among operating

Re: [R-sig-phylo] Query about Phylogenetics in R

2016-08-31 Thread Brian O'Meara
A similar solution is to create a pdf: pdf(file="AwesomeTree.pdf", width=10, height=10) plot(phy) dev.off() As you increase the width and height, the labels become proportionally smaller. You can probably mess around with cex options, too, but this is the approach I normally use. Best, Brian

Re: [R-sig-phylo] Query about Phylogenetics in R

2016-08-31 Thread Liam J. Revell
Just to throw out another quick suggestion - for a tree with "only" 220 tips you could try a "fan" style plot which plots the tip labels radially leaving you with a bit more chance of being able to read them. This is implemented in the plot method for the object class, but also in

Re: [R-sig-phylo] Query about Phylogenetics in R

2016-08-31 Thread Bhuller, Ravneet
Dear Liam, Brian and Vojtech, Many thanks for all your guidance. All this was very helpful. Many thanks, Rav On 31 Aug 2016, at 14:16, Liam J. Revell > wrote: lwd=1,type="fan",fsize=0.7 [[alternative HTML version deleted]]