I have generated a random forest predictive model using "qiime sample-classifier classify-samples".
The model works very well at predicting, but usually the "accuracy.qzv" shows a nice 'confusion matrix'-like plot. But the squares are stretched out vertically. I think it it because the y-axis is set at at '0' and 'Max', but would require a 0.5 offset to look square.
Yes, this has been fixed in the most recent release (and since 2019.10) â specifically, it is a bug in an older version of matpotlib (the graphics package used to generate this plot) and can either be fixed by installing the latest version of QIIME 2 (which ships with the correct matplotlib version) or by upgrading matplotlib.
Thank you for the fast reply. I am using a computing cluster server and⊠can only use the âmoduleâ for qiime because the conda install doesnât work (and I am stuck with q2019.7).
And on my laptop, qiime doesnât like tables (and other artefacts) from other versions! (Do you think I can import my table.qza to a new version of qiime? With a command like âqiime importâ)
But in any case thanks for the answer!
Best regards, -JA
QIIME 2 artifacts are backwards compatible, and should be forward compatible unless if you have an ancient version of QIIME 2 installed on your laptop. So this should work â maybe install the latest version on your laptop and you should be okay.
Hi! I figured out how to import. Had to unzip the âtable.qzaâ to get the â.biomâ file.
Tried the command:
(qiime2-2019.10) [email protected]_64-apple-darwin13 qiime-local %
qiime tools import \
--type FeatureTable[Frequency] \
--input-path table.qza \
--output-path 10_table.qza
There was a problem importing table.qza:
table.qza is not a(n) BIOMV210Format file
Anyways, it ended up working, thanks! Didnât have to re-import and re-cluster ASVs.
It is not the first time I tried importing from versions to versions and never could import the âtable.qzaâ as is. I Thought of unzipping and getting the âfeature-table.biomâ today and it is the only way I could transfer the table. The command to import as I previously posted doesnât work in my experience (the command expects a biom file)
But I have to agree that the whole âimporting the table artefact from previous version of qiimeâ is not relevant to make the âsample-classifierâ module.
In any case, thanks a lot!