Error with bioenv

qiime diversity bioenv
–i-distance-matrix core-metrics-results/weighted_unifrac_pcoa_results.qza
–m-metadata-file sample-metadata.tsv
–o-visualization qiime-metadata-distance-matrix/weighted_unifrac_pcoa_results.bioenv.qzv

When I running the command, there comes an error, how to do with this (Atacama soil microbiome Data from the QIIME2 website)?

Plugin error from diversity:

Column(s) in the data frame could not be scaled, likely because the column(s) had no variance.

Debug info has been saved to /tmp/qiime2-q2cli-err-l25jc5_g.log

Hi @liaochenlanruo,
You can ignore the speculation about zero variance in that error. Here is the real problem:

Looks like you are passing in PCOA results as input. This should be a distance matrix instead.

Give that a try and let us know if you are still having trouble!

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