# How to use pcoa-biplot

**URL:** <https://forum.qiime2.org/t/how-to-use-pcoa-biplot/7953>\
**Category:** User Support\
**Created:** [January 23, 2019, 6:09am UTC](https://forum.qiime2.org/t/how-to-use-pcoa-biplot/7953 "2019-01-23T06:09:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ebolyen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ebolyen/32/11_2.png) [@ebolyen](https://forum.qiime2.org/u/ebolyen)\
**Post date:** [January 24, 2019, 12:46am UTC](https://forum.qiime2.org/t/how-to-use-pcoa-biplot/7953/2 "2019-01-24T00:46:40Z")

</div>

Hi @suzukik!

Great question, there's a few steps to this:

1. Use `qiime feature-table relative-frequency` to generate the table for `pcoa-biplot`. You need this to be based on the rarefied table you are using for your `beta` and `pcoa` steps. You can use provenance to prove that you're using the same rarefied table in both `relative-frequency` and `pcoa` 🙂

2. Run `pcoa-biplot` with that table and an existing `PCoAResults` (generated by your previous `pcoa`).

3. Use `qiime emperor biplot` with `--m-feature-metadata-file` set to your `FeatureData[Taxonomy]` artifact. This will let you color the biplot vectors by taxonomy (it's at the bottom of the normal color dropdown in the Emperor UI).

Abstractly the pipeline looks like this:

```plaintext
`rarefy` ---> `beta` -> `pcoa` -> `pcoa-biplot` -> `emperor biplot`
       \-> `relative-frequency`--/ /
                                   taxonomy.qza -/

```

---

_[View the full topic](https://forum.qiime2.org/t/how-to-use-pcoa-biplot/7953)._
