ggtree icon indicating copy to clipboard operation
ggtree copied to clipboard

how to draw a heatmap from phyloseq class files

Open sicencecat opened this issue 7 years ago • 1 comments
trafficstars

Hi, Everyone! I want to draw a heatmap from a phyloseq class file. Phyloseq class files contained out tables, sample information, and taxa classification. Could I draw a heatmap from this kind of file? p<-ggtree(ver, layout = "circular") sm<- psmelt(ver) heatmapData<-sm$location gheatmap(p,heatmapData, offset = 0.1, color=NULL) Error in data.frame(from = dd$variable, to = V2) : arguments imply differing number of rows: 343, 0

sicencecat avatar Aug 25 '18 14:08 sicencecat

reproducible example needed.

GuangchuangYu avatar Sep 10 '18 09:09 GuangchuangYu