Skip to content

Commit

Permalink
fix wrong tree coordinate for tip
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Jan 8, 2025
1 parent 1ba297a commit 473628a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/align-phylo.R
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,9 @@ fortify_data_frame.phylo <- function(data, ..., type = "rectangle",
if (is.null(edge_lengths)) {
y <- 1L
} else {
y <- edge_lengths[select] + timing
y <- timing
}

list(
node = data_frame0(
.index = index,
Expand Down

0 comments on commit 473628a

Please sign in to comment.