# Diversity Analysis

**URL:** https://forum.qiime2.org/t/diversity-analysis/1304
**Category:** User Support
**Tags:** diversity, export
**Created:** [September 23, 2017, 3:49pm UTC](https://forum.qiime2.org/t/diversity-analysis/1304 "2017-09-23T15:49:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![twhitney](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/f6c823/32.png) [@twhitney](https://forum.qiime2.org/u/twhitney)
#### Post date: [September 23, 2017, 3:49pm UTC](https://forum.qiime2.org/t/diversity-analysis/1304/1 "2017-09-23T15:49:22Z")

</div>

Hello,

Is it possible to get a bray-curtis distance matrix output from the analysis and not just the PCoA plot?

I was attempting ways to get the artifact visualized other than the plot, but maybe I am missing something simple I can't find on the website.

The UniFrac Distance boxplots could be helpful but it only lets me use my other metadata category and not compare sample-sample.

Is there a way to get that distance matrix output other than PCoA plots and for there to be a sample-sample comparison, not just my metadata category for the diversity plugin?

Thank you in advance!

---

<div class="post-metadata">

### Author: ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)
#### Post date: [September 25, 2017, 3:19am UTC](https://forum.qiime2.org/t/diversity-analysis/1304/3 "2017-09-25T03:19:06Z")

</div>

Hi @twhitney!

> [@twhitney](#):
>
> Is it possible to get a bray-curtis distance matrix output from the analysis and not just the PCoA plot?

I might be misunderstanding your question, but yes, there are a few ways to grab the Bray-Curtis Distance Matrix! If you ran [`core-metrics`](https://docs.qiime2.org/2017.8/plugins/available/diversity/core_metrics/), this is one of the outputs ([here is an example from the Moving Pictures Tutorial](https://view.qiime2.org/?src=https%3A%2F%2Fdocs.qiime2.org%2F2017.8%2Fdata%2Ftutorials%2Fmoving-pictures%2Fcore-metrics-results%2Fbray_curtis_distance_matrix.qza)). You could choose to[export](https://docs.qiime2.org/2017.8/tutorials/exporting/) that, if you had some downstream analysis/visualization you wished to run.

> [@twhitney](#):
>
> The UniFrac Distance boxplots could be helpful but it only lets me use my other metadata category and not compare sample-sample.

Are you reference to an analysis like `beta-group-significance`? If you, I'm not sure what is to be gained with performing this kind of sample-to-sample comparison, because all the "groups" will be unique, which means that there will be no computable "within" distances.

Thanks!

---

<div class="post-metadata">

### Author: ![twhitney](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/f6c823/32.png) [@twhitney](https://forum.qiime2.org/u/twhitney)
#### Post date: [September 25, 2017, 11:27pm UTC](https://forum.qiime2.org/t/diversity-analysis/1304/5 "2017-09-25T23:27:53Z")

</div>

I'm sorry I was being very general. I did all of those steps and realized it was something wrong with excel and not the exported file.

Thanks!

---

<div class="post-metadata">

### Author: ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)
#### Post date: [October 27, 2017, 5:28am UTC](https://forum.qiime2.org/t/diversity-analysis/1304/6 "2017-10-27T05:28:03Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
