Hi,
This is perhaps the wrong group to post in, but I am a little frustrated and wondering whether this issue with the tree output file is specific to RevBayes.
I would like to plot the maximum a posteriori tree in R and show the posterior probabilities as node labels. I've used ape::read.nexus() to import the nexus tree file; however, while tip labels and branch lengths import, node labels do not. For instance, this is what comes up when I inspect the phylo object:
Phylogenetic tree with 46 tips and 45 internal nodes.
Tip labels:
Tadh_1, Tadh_20, Tadh_25, Tadh_26, Tadh_27, Tadh_18, ...
Rooted; includes branch lengths.
As a result, I cannot plot node labels in downstream applications, such as ggtree. Oddly enough, I can visualize the node labels in Figtree, but I would like to annotate the tree in R and cannot export it from Figtree in a format that preserves the node labels (the node labels do not survive conversion to Newick).
What program is everyone using to visualize and annotate trees in R? Has anyone else run into this or is this a problem that is specific to my workflow?
Cheers,
Jasmine