microbiome / mia

Microbiome analysis
https://microbiome.github.io/mia/
Artistic License 2.0
46 stars 27 forks source link

Failure in makePhyloseqFromTreeSE #430

Closed antagomir closed 10 months ago

antagomir commented 1 year ago

I think this simple conversion should work out-of-the box:

library(mia)
data(enterotype, package="mia")
makePhyloseqFromTreeSE(enterotype)

However it produces the following error:

Error in validObject(.Object) : invalid class “phyloseq” object: Component taxa/OTU names do not match. Taxa indices are critical to analysis. Try taxa_names()

-> Diagnose and fix?