# Creating 2D PCoA plots

**URL:** <https://forum.qiime2.org/t/creating-2d-pcoa-plots/24539>\
**Category:** User Support\
**Created:** [October 25, 2022, 9:29pm UTC](https://forum.qiime2.org/t/creating-2d-pcoa-plots/24539 "2022-10-25T21:29:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)\
**Post date:** [October 26, 2022, 3:51am UTC](https://forum.qiime2.org/t/creating-2d-pcoa-plots/24539/3 "2022-10-26T03:51:17Z")

</div>

Hi @dadaria ,  
To add a few more solutions:

Exporting to R or Python:

> [@PCoA plots with confidence ellipsoids](https://forum.qiime2.org/t/pcoa-plots-with-confidence-ellipsoids/11612):
>
> I need to render 2D PCoA plots with confidence ellipsoids. After going through help forum posts here I found others looking to do the same and roadmap plans from 2017 to add this functionality--it seemed that this had been added. I generated a jackknifed Emperor plot using "qiime diversity beta-rarefaction", which I had hoped would have confidence ellipsoids, but it did not, so I exported the data from this visualization.qzv file using "qiime tools export" and then tried to render the 2D plot us…

You can also directly view PCoAs using Vega to make 2D and customize:

> [@Custom color palette](https://forum.qiime2.org/t/custom-color-palette/15224/2):
>
> Hi @Parix! That depends on what visualization you're working with. slight_smile Many visualizations (e.g. [taxa barplot](https://view.qiime2.org/visualization/?type=html&src=https%3A%2F%2Fdocs.qiime2.org%2F2020.2%2Fdata%2Ftutorials%2Fmoving-pictures%2Ftaxa-bar-plots.qzv)) have colorbrewer palettes baked in for you to use. Other visualizations may offer different approaches. (e.g. [emperor plots](https://view.qiime2.org/visualization/?type=html&src=4fa8670e-7a09-401d-bc5b-653e79760130) allow editing in Vega - very powerful, but there's a bit of a learning curve) [image] Big-picture, it's important to remember that QIIME 2 uses a plugin-based model, where all bioinformatics knowledge is implemented in plugins, rather than in a sing…

A separate python package, dokdo:

> [@Python Tutorial: Data Visualization with Dokdo API](https://forum.qiime2.org/t/python-tutorial-data-visualization-with-dokdo-api/17380#beta_2d_plot):
>
> This tutorial has gotten so big that apparently the text body exceeded the maximum number of characters one can enter in a post (99,000)! Therefore, I will leave a [link](https://dokdo.readthedocs.io/en/latest/dokdo_api.html) to Dokdo API for those who are interested in seeing the most up-to-date tutorial. Please let me know if you have any questions. arrow_forward Click here to see the original documentation

---

_[View the full topic](https://forum.qiime2.org/t/creating-2d-pcoa-plots/24539)._
