I have a MSA file and wanted to create tree from it. I created the distance matrix first then created a ggtree for that. Now it works. My issue is I have a reverse branch in my tree. Something similar to https://groups.google.com/forum/#!topic/bioc-ggtree/41wU6trCIPA . I tried to solve it based on that but couldn't.
I have a negative branch length. Here is my code:
I have a MSA file and wanted to create tree from it. I created the distance matrix first then created a ggtree for that. Now it works. My issue is I have a reverse branch in my tree. Something similar to https://groups.google.com/forum/#!topic/bioc-ggtree/41wU6trCIPA . I tried to solve it based on that but couldn't. I have a negative branch length. Here is my code:
I want to add clade information from another data frame called Ann so matched the first column with SampleTree$tip.label using :
I got the tree with one reverse branch like below:
Thank you very much in advance for your help.