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:
I have plotted alpha diversity measures (OTUs observed and Chao1) using geom_boxplot within phyloseq, and I noticed that in many cases there are "dots" (which I believe are there to represent outliers) which are within and not beyond the whiskers. Shouldn't the outliers be plotted only when located beyond the whiskers?
Hi Joey,
I have plotted alpha diversity measures (OTUs observed and Chao1) using geom_boxplot within phyloseq, and I noticed that in many cases there are "dots" (which I believe are there to represent outliers) which are within and not beyond the whiskers. Shouldn't the outliers be plotted only when located beyond the whiskers?
This is the code I have used:
physeq_alpha <- prune_taxa(taxa_sums(physeq3) > 0, physeq3) sample_data(physeq_alpha)$site_treatments <- factor(sample_data(physeq_alpha)$site_treatments, levels = c("G_pre-exp", "G_Control", "G_L", "G_EW_L","G_cast","T_pre-exp", "T_Control", "T_L", "T_EW_L","T_cast"))
dd <- plot_richness(physeq_alpha, x = "site_treatments", measures=c("Chao1", "Observed")) + geom_boxplot()
I'd appreciate any feedback.
Cheers, Alex