# Could I create PCoA Plot in Mothur program?

**URL:** <https://forum.mothur.org/t/could-i-create-pcoa-plot-in-mothur-program/19752>\
**Category:** Commands in mothur\
**Created:** [March 4, 2019, 2:48am UTC](https://forum.mothur.org/t/could-i-create-pcoa-plot-in-mothur-program/19752 "2019-03-04T02:48:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![baehsung](https://avatars.discourse-cdn.com/v4/letter/b/6f9a4e/32.png) [@baehsung](https://forum.mothur.org/u/baehsung)\
**Post date:** [March 4, 2019, 2:48am UTC](https://forum.mothur.org/t/could-i-create-pcoa-plot-in-mothur-program/19752/1 "2019-03-04T02:48:23Z")

</div>

Hi!

I had sequences of functional gene name hgcA associated with mercury methylation, which were obtained from environmental samples using clone libraries. Could I make PCoA plot in Mothur program?

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [March 4, 2019, 3:32pm UTC](https://forum.mothur.org/t/could-i-create-pcoa-plot-in-mothur-program/19752/2 "2019-03-04T15:32:14Z")

</div>

Certainly - we have a command called `pcoa` that will do it for you. You can see how we use it in the MiSeq SOP page.

---

<div class="post-metadata">

**Author:** ![baehsung](https://avatars.discourse-cdn.com/v4/letter/b/6f9a4e/32.png) [@baehsung](https://forum.mothur.org/u/baehsung)\
**Post date:** [March 5, 2019, 3:23pm UTC](https://forum.mothur.org/t/could-i-create-pcoa-plot-in-mothur-program/19752/3 "2019-03-05T15:23:36Z")

</div>

Thanks for your quick reply.

My seqs are not from 16S gene, but from a functional genes, which were obtained clone libraries from several different environmental samples. I would like to get PCoA plot to see how different the phylogenetic relationship between samples. I would like to use Unfrac weighted distance matrix for getting PCoA plot.

I just guess that I have to obtained Unifrac weighted distance matrix from phylogenetic tree that was constructed using my sequence. Then, I may use the matrix to generate PCoA plot.

Do you think this pathway is work?

Hee-Sung

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [March 11, 2019, 7:06pm UTC](https://forum.mothur.org/t/could-i-create-pcoa-plot-in-mothur-program/19752/4 "2019-03-11T19:06:59Z")

</div>

That approach should work.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/system/32/2_2.png) [@system](https://forum.mothur.org/u/system)\
**Post date:** [March 21, 2019, 7:07pm UTC](https://forum.mothur.org/t/could-i-create-pcoa-plot-in-mothur-program/19752/5 "2019-03-21T19:07:00Z")

</div>

Closed on March 21, 2019, 7:07pm UTC

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