Skip to content

Commit

Permalink
fix phylo labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Jan 8, 2025
1 parent 558c802 commit 1ba297a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/align-phylo.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ AlignPhylo <- ggproto("AlignPhylo", Align,
#' @export
fortify_matrix.phylo <- function(data, ...) {
rlang::check_dots_empty()
if (is.null(labels <- data$tip_labels)) {
if (is.null(labels <- data$tip.label)) {
cli_abort(
"{.arg data} {.cls phylo} object must have tip labels to match the layout data"
)
Expand Down

0 comments on commit 1ba297a

Please sign in to comment.