[R-sig-phylo] axisChrono and axisPhylo

2015-03-02 Thread Jacob Berv
Greetings R-sig-phylo, This is my first post but happy to join this community I have been having some trouble with the axisChrono of the phyloch package and axisPhylo functions of the ape package that I was hoping someone might be able to help me with. When using either function, the spacing

Re: [R-sig-phylo] axisChrono and axisPhylo

2015-03-02 Thread Jacob Berv
Thanks Franz, I tried modifying the axisChrono function, but when I change the “at=“ argument to equal something like “at= c(1,2,3,4,5)” I can get it to list out specific tick marks but they are always in increasing order, not reverse order as you want with a right facing cladogram. I’m not

Re: [R-sig-phylo] axisChrono and axisPhylo

2015-03-02 Thread Santiago Claramunt
Hi Jacob, What I do is to use the basic axis() function. The trick is to transform the scale by subtracting the depth of your tree like this: axis(1, at=max(branching.times(tree))-0:10, labels=0:10) Best, Santiago On Mar 2, 2015, at 4:38 PM, Jacob Berv jakeberv.r.sig.ph...@gmail.com wrote:

Re: [R-sig-phylo] axisChrono and axisPhylo

2015-03-02 Thread Jacob Berv
Excellent! Thanks Santiago. In case anyone is interested, I ended up using the following three lines to generate an axis with labeled and thick tick marks every 10 and thin (unlabeled) ticks every 2. There is probably a more elegant way to do this but this works: axis(3,