# Adding Metadata to Emperor Plots

**URL:** <https://forum.qiime2.org/t/adding-metadata-to-emperor-plots/19251>\
**Category:** User Support\
**Tags:** emperor, metadata\
**Created:** [April 16, 2021, 3:08pm UTC](https://forum.qiime2.org/t/adding-metadata-to-emperor-plots/19251 "2021-04-16T15:08:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zlmg2b](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/z/e47c2d/32.png) [@zlmg2b](https://forum.qiime2.org/u/zlmg2b)\
**Post date:** [April 16, 2021, 3:08pm UTC](https://forum.qiime2.org/t/adding-metadata-to-emperor-plots/19251/1 "2021-04-16T15:08:21Z")

</div>

Our informatics team uses different metadata from what our sample metadata is when processing samples. I'd like to add metadata categories to the emperor plot visualizations without having to rerun everything. Is it possible to add metadata to a visualization like emperor plots after the fact?

---

<div class="post-metadata">

**Author:** ![jwdebelius](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jwdebelius/32/9655_2.png) [@jwdebelius](https://forum.qiime2.org/u/jwdebelius)\
**Post date:** [April 16, 2021, 3:10pm UTC](https://forum.qiime2.org/t/adding-metadata-to-emperor-plots/19251/2 "2021-04-16T15:10:10Z")

</div>

Hi @zlmg2b,

It is not possible to add additional metadata to the the plot. It _is_ possible to re-run the plotting step alone (which in my experience takes a few seconds for small sample sets and maybe 1 minute for _massive_ ones). You need the pcoa artifact for your distance matrix or biplot and that gets passed to the [qiime emperor plot](https://docs.qiime2.org/2021.2/plugins/available/emperor/plot/) command.

Best,  
Justine

---

<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:** [May 17, 2021, 9:11pm UTC](https://forum.qiime2.org/t/adding-metadata-to-emperor-plots/19251/4 "2021-05-17T21:11:36Z")

</div>

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