Combine multiple sequence alignment matrix and phylogenetic tree
0
3
Entering edit mode
4.5 years ago

Hey guys, Can anybody tell me how to produce figures such as this one in R? I'm assuming one can use a finished MSA and tree for it, but I couldn't find the proper commands.

Thanks!

Edit: so, for those of you that don't see the figure, it's basically just a matrix that shows pairwise identity of a multiple sequence alignment (colored as a heatmap). Next to the matrix, there is a phylogenetic tree, whose taxa are connected to the rows in the matrix.

enter image description here

R • 1.9k views
ADD COMMENT
0
Entering edit mode

Edit: so, for those of you that don't see the figure, it's basically just a matrix that shows pairwise identity of a multiple sequence alignment (colored as a heatmap). Next to the matrix, there is a phylogenetic tree, whose taxa are connected to the rows in the matrix.

Even though that's an accurate description, I doubt that anyone would grasp the complexity of this figure from your description alone. What makes you think that some of us don't see the figure?

pyani will do the right-hand portion of this figure, and of course there are numerous programs that can do the left-hand side.

What is the source of this figure? Do they not explain anything about how it was made?

ADD REPLY
0
Entering edit mode

It's from this publication, which doesn't mention how the figures were created: DOI: 10.3389/fmicb.2019.01758

I got a comment from somebody who wasn't shown the figure, so I tried to describe it. Anyway, so it seems there isn't an out-of-the box solution in R for this?

ADD REPLY
0
Entering edit mode

Although it shouldn't be required because it is on to authors to correctly describe the procedure, sometime we have to be detectives. There is no doubt that the identity matrix in that paper was made using this program:

Maybe the same software can do the tree on the side, or they added it by hand.

ADD REPLY

Login before adding your answer.

Traffic: 2034 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6