emmanuelparadis / ape

analysis of phylogenetics and evolution
http://ape-package.ird.fr/
GNU General Public License v2.0
52 stars 11 forks source link

problem with nodelabels when frame="circle" #85

Closed Juanphg closed 1 year ago

Juanphg commented 1 year ago

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.

emmanuelparadis commented 1 year ago

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

Juanphg commented 1 year ago

Thanks! Cheers, Juan