You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a subsetted phyloseq object "x", containing 9 taxa.
I've created relative abundances of the read data (using microbiome::), so when running otu_table(x) I get relative abundances for each feature. The feature IDs are currently long strings, e.g.: "31fad54be44797f948a21c9e010ec9a7"
When running tax_table(x) I get the taxonomic info per feature ID.
In the relative abundance data (otu_table(x)) I want to replace the long feature ID strings, for the genus (or whole tax information, if only genus is not possible) of each feature id, as shown in tax_table(x).
I can imagine that there is a phyloseq function specifically for doing this, but I cannot seem to find it.
Could anyone please advise me how to do this?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I have a subsetted phyloseq object "x", containing 9 taxa.
I've created relative abundances of the read data (using
microbiome::
), so when runningotu_table(x)
I get relative abundances for each feature. The feature IDs are currently long strings, e.g.: "31fad54be44797f948a21c9e010ec9a7"When running
tax_table(x)
I get the taxonomic info per feature ID.In the relative abundance data (
otu_table(x)
) I want to replace the long feature ID strings, for thegenus
(or whole tax information, if only genus is not possible) of each feature id, as shown intax_table(x)
.I can imagine that there is a phyloseq function specifically for doing this, but I cannot seem to find it.
Could anyone please advise me how to do this?
Thanks!
The text was updated successfully, but these errors were encountered: