I am trying to organize a phylogenetic tree on a graph showing physiological data for a set of related organisms. Something like the picture below. It was combined into a powerpoint from two separate schedules. I assume that he is doing this work, but I was hoping to create a single image, which, I think, will be easier to format in the document. I can create the graph that I want to use ggplot2 and import the tree with the monkey. I thought that there should be a way to save the tree as a graphical object and then organize it using a graph using the gridarrange function in gridExtra. The problem is that the monkey will not allow me to save the tree as a graphic object, for example,
p2<-plot(tree, dir = "u", show.tip.label = FALSE)
just draws a tree, and when you call p2, it just gives a list of arguments. I am wondering if anyone has any tips.
Thanks!

source share