ggtree
ggtree copied to clipboard
how to draw a heatmap from phyloseq class files
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
reproducible example needed.