Warning
This site has been replaced by the new QIIME 2 “amplicon distribution” documentation, as of the 2025.4 release of QIIME 2. You can still access the content from the “old docs” here for the QIIME 2 2024.10 and earlier releases, but we recommend that you transition to the new documentation at https://amplicon-docs.qiime2.org. Content on this site is no longer updated and may be out of date.
Are you looking for:
the QIIME 2 homepage? That’s https://qiime2.org.
learning resources for microbiome marker gene (i.e., amplicon) analysis? See the QIIME 2 amplicon distribution documentation.
learning resources for microbiome metagenome analysis? See the MOSHPIT documentation.
installation instructions, plugins, books, videos, workshops, or resources? See the QIIME 2 Library.
general help? See the QIIME 2 Forum.
Old content beyond this point… 👴👵
sample-classifier¶
Description |
This QIIME 2 plugin supports methods for supervised classification and regression of sample metadata, and other supervised machine learning methods. |
---|---|
Version | 2024.10.0 |
Website | https://github.com/qiime2/q2-sample-classifier |
Support |
Please post to the QIIME 2 forum for help with this plugin: https://forum.qiime2.org |
q2cli Invocation | qiime sample-classifier
|
Artifact API Import | from qiime2.plugins import sample_classifier
|
Citations |
|
Pipelines¶
- classify-samples: Train and test a cross-validated supervised learning classifier.
- classify-samples-from-dist: Run k-nearest-neighbors on a labeled distance matrix.
- heatmap: Generate heatmap of important features.
- metatable: Convert (and merge) positive numeric metadata (in)to feature table.
- regress-samples: Train and test a cross-validated supervised learning regressor.
Methods¶
- classify-samples-ncv: Nested cross-validated supervised learning classifier.
- fit-classifier: Fit a supervised learning classifier.
- fit-regressor: Fit a supervised learning regressor.
- predict-classification: Use trained classifier to predict target values for new samples.
- predict-regression: Use trained regressor to predict target values for new samples.
- regress-samples-ncv: Nested cross-validated supervised learning regressor.
- split-table: Split a feature table into training and testing sets.