emmanuelparadis / ape

analysis of phylogenetics and evolution

Home Page:http://ape-package.ird.fr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem with nodelabels when frame="circle"

Juanphg opened this issue · comments

Hello,
I'm using APE to plot a phylogenetic tree with some annotations. When I tried to use the function nodelabels with the argument frame="circle" it is ignoring the given position with the adj argument, and places the background circle in the specified nodes, and the labels in the correct position. When changed to the default argument frame="rect" it takes the adj argument, and everything is aligned. I'm using R 4.1.2 on Rstudio 2023.03.1.
Thanks for your help.
Cheers,
Juan.

Hello,
Thanks for the detailed report. This is fixed and pushed here. Since this is only R code, you can just load the file:
nodelabels.R to try the fixed version.
Cheers,
Emmanuel

Thanks!
Cheers,
Juan