Skip to content

Commit 473628a

Browse files
committed
fix wrong tree coordinate for tip
1 parent 1ba297a commit 473628a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: R/align-phylo.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,9 @@ fortify_data_frame.phylo <- function(data, ..., type = "rectangle",
357357
if (is.null(edge_lengths)) {
358358
y <- 1L
359359
} else {
360-
y <- edge_lengths[select] + timing
360+
y <- timing
361361
}
362+
362363
list(
363364
node = data_frame0(
364365
.index = index,

0 commit comments

Comments
 (0)