Skip to content

Commit

Permalink
don't prefix cluster ID with 'Statistics' in tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
russHyde committed Dec 7, 2022
1 parent 6b296e7 commit a969811
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions R/plot_tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,7 @@ append_interactivity_data <- function(ggobj,
}
}

ggobj$data$mouseover <- sapply(seq_along(ttdfs), function(i) {
paste0(
"Statistics:\n", ttdfs[i],
"\n",
collapse = "\n"
)
})
ggobj$data$mouseover <- ttdfs
ggobj$data$colour_var <- ggobj$data[[branch_col]]

ggobj
Expand Down

0 comments on commit a969811

Please sign in to comment.