data(ITS1, meta)
# plot the abundance of all observed classes for each sample, displaying
# it to the screen and adding a dendrogram on the column and the Collector
# on the row
group.heatmap.simple(ITS1, is.OTU=TRUE, meta=meta,
row.factor=c(Crop="Crop"), dendro="row",
rank="g", top=10, drop.unclassified=TRUE,
leg.x=-0.06)
# plot the genus for all OTUs, add a dendrogram to the row and column,
# and save the plot in path.tiff
group.heatmap.simple(ITS1, is.OTU=TRUE, meta=meta, rank="genus",
dendro="both", file="my/file/path")Run the code above in your browser using DataLab