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 Actino, but whenever I use the actino::experiment_to_phyloseq()
function, "Error: Each row of output must be identified by a unique combination of keys"
shows up. Also says "Keys are shared for 2956 rows"
along with a list of row pairs.
I have two files: the csv file (taxannotation.csv
) and the mapfile (mapfile.csv
). My csv file contains the columns ssr, tax_name, tax_rank, count, and percent.
The mapfile contains the ssrs on the first column similar to those in the csv file along with other attributes.
I use the code
taxannotation.ps<-experiment_to_phyloseq(taxannotation,mapfile)
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.
Already tried searching for an answer, but never really found one that's informative or helpful.