Hi, I am a newbie in biology. Currently, I am working with R to generate trees (but not in biology, for other subjects). I just have some concern using phangron and ape (other packages of R is OK if they can solve this problem).
My data is like this, binary datasets.

And what I want to generate are trees like this: all the characteristics made the difference are labelled in the tree (automatically, not point by me after generated the tree). I do not mind if they are annotated at nodes or on edges.

Is it possible? How can I do it? Thanks in advance for the comments.
r