Home > Community > How to generate Beta diversity boxplot from phyloseq object?
Upvote

26

Downvote
+ Statistics
Posted by
Kevin Fisher

How to generate Beta diversity boxplot from phyloseq object?

Chris Seymour  Follow

You could convert the phyloseq object to a dataframe and just plot it using base R or ggplot2. I'm not exactly sure what the bray curtis df will be called but you can access it using the @ notation then convert with data.frame e.g.

bray_for_plot <- data.frame(phylo_obj@bray)

More

Upvote

VOTE

Downvote