joey711 / phyloseq

phyloseq is a set of classes, wrappers, and tools (in R) to make it easier to import, store, and analyze phylogenetic sequencing data; and to reproducibly share that data and analysis with others. See the phyloseq front page:
http://joey711.github.io/phyloseq/
567 stars 187 forks source link

Is it possible to add two taxa.label to heatmaps? #1720

Open we32i225 opened 5 months ago

we32i225 commented 5 months ago

Hello, i am trying to plot a heat-map from a phyloseq object. The heat-map plots just fine with no issues. However, some of the taxa in my tax_table were not identified down to genus level, and so when plotted in a heat-map are labelled "?". I wanted to know if there is a way to also add the family/order to the taxa.label in one combined label. the code i have used so far is: plot_heatmap(physeq_genus, sample.label= "sample", taxa.label="family", distance = "bray", sample.order = "sample")

image