Adding sample sites to sequence percent identity heatmap?
1
0
Entering edit mode
22 months ago
pearl2070 ▴ 10

I've created a sequence percent identity heatmap in R studio. How can I add some metadata of which sequences are found in which sample sites, as pictured in the sketch below? I used pheatmap, but I can explore alternative packages that would add this.

Thanks in advance!

enter image description here

heatmap studio dna amplicon R • 697 views
ADD COMMENT
0
Entering edit mode
22 months ago
ATpoint 85k

I would go through ComplexHeatmap which is versatile with extensive documentation, or you make both plots separately via ggplot2 and then put them together with something like cowplot or patchwork. For a better answer you'd need to provide example data and code.

ADD COMMENT
1
Entering edit mode

Thanks, I was able to figure this out with ComplexHeatmap!

ADD REPLY

Login before adding your answer.

Traffic: 1832 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