I\'m trying to order the rows of a dataframe based on the tip labels found in a phylogenetic tree. The way I was going to do this was to use the match function
for different package (ggtree), but same issue I quote, "To get tip order of a ggtree plot, do something like this: data(bird.orders) p <- ggtree::ggtree(bird.orders) p[["data"]] # extract 'label' and 'y' columns
coming from this website, and package... though how many R packages does it take to change a light bulb? https://rdrr.io/github/joelnitta/jntools/man/get_tips_in_ape_plot_order.html