data("gtree", package = "TransProR")
# Define genes and their colors
genes_df <- data.frame(Symble = c("t5", "t9"),
color = c("#FF0000", "#0000FF"))
# Add highlights
gtree <- gene_highlights(gtree, genes_to_highlight = genes_df)
Run the code above in your browser using DataLab