Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-knight committed Jul 24, 2023
1 parent 495048e commit 4b545af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/prep.tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ prep.tree <- function(
if (is.null(tree.df$label)) tree.df$child else tree.df$label
);

if (('node.col' %in% colnames(tree.df))) {
if (('node.col' %in% colnames(tree.df))) {
tree.df$node.col[is.na(tree.df$node.col)] <- default.node.colour;
} else {
tree.df$node.col <- default.node.colour;
Expand Down

0 comments on commit 4b545af

Please sign in to comment.