title: How to fix "Each row of output must be identified by a unique combination of keys" error in R
body: <p>I'm new to R. I have uBiome data (in csv) that I want to convert to Phyloseq. Been trying to use this R package called <a href="https://github.com/richardsprague/actino" rel="nofollow noreferrer">Actino</a>, but whenever I use the <code>actino::experiment_to_phyloseq()</code> function, <code>&quot;Error: Each row of output must be identified by a unique combination of keys&quot;</code> shows up. Also says <code>&quot;Keys are shared for 2956 rows&quot;</code> along with a list of row pairs.</p>
  <p>I have two files: the csv file (<code>taxannotation.csv</code>) and the mapfile (<code>mapfile.csv</code>). My <strong>csv file</strong> contains the columns ssr, tax_name, tax_rank, count, and percent.</p>
  <p><a href="https://i.stack.imgur.com/McDj5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/McDj5.png" alt="enter image description here" /></a></p>
  <p>The <strong>mapfile</strong> contains the ssrs on the first column similar to those in the csv file along with other attributes.</p>
  <p>I use the code<br />
  <code>taxannotation.ps&lt;-experiment_to_phyloseq(taxannotation,mapfile)</code></p>
  <p>While the ssrs in my csv file repeat in different rows, I believe that the other columns such as tax_name, tax_rank, count, and percent all give a different identity to each row.</p>
  <p>Already tried searching for an answer, but never really found one that's informative or helpful.</p>