Machine learning in OTU analysis
Home Software Services About Contact     
 
Follow on twitter

Robert C. Edgar on twitter

11-Aug-2018 New paper describes octave plots for visualizing alpha diversity.

12-Jun-2018 New paper shows that one in five taxonomy annotations in SILVA and Greengenes are wrong.

18-Apr-2018 New paper shows that taxonomy prediction accuracy is <50% for V4 sequences.

05-Oct-2017 PeerJ paper shows low accuracy of closed- and open-ref. QIIME OTUs.

22-Sep-2017 New paper shows 97% threshold is wrong, OTUs should be 99% full-length 16S, 100% for V4.

24-Nov-2016
UPARSE tutorial video posted on YouTube. Make OTUs from MiSeq reads.

 

USEARCH v11

Machine learning in OTU analysis

ImageSee also
  Random forests
  k-fold cross-validation
  OTU importance
  otutab_forest_train command
  otutab_forest_classify command
  otutab_forest_kfold command

 

Machine learning refers to automated methods for creating classifiers. A classifier is an algorithm which assigns categories to observations, where an observation is described by numerical values for a set of features. For example, categories could be "man" and "woman", and the data could be a photograph of a face. Here, features are pixels, and values represent colors.

In OTU analysis, observations are samples and categories are metadata such as healthy / sick, day / night, and so on. The data describing the observation is the set of OTU counts or frequencies in a sample, i.e. a column in the OTU table. The column can be viewed as a vector, which is machine learning terminology would be called a feature vector (OTUs are features).

With unsupervised learning, the algorithm attempts to infer patterns in the data without reference to pre-assigned labels or categories. This type of algorithm is rarely (never?) used in OTU analysis. If you know of an application of unsupervised learning here, please let me know.

With supervised learning, the parameters of a classifier are trained on observations which are labeled with their correct categories. This is called "supervised" because the machine needs to be helped (supervised) during the learning phase, but not during the classification phase.

A trained classifier can be used to predict categories of novel samples. This could be used, for example, to create a diagnostic test for a gut disorder using 16S data from stool samples. However, this approach is rarely used in practice. If you know of a good example, please let me know.

The most common use of machine learning in OTU analysis is to answer the question: does the composition of the community change with the sample metadata state (healthy / sick etc.)? Put another way, can metadata states be predicted from OTU counts or frequencies? This question can be answered by using k-fold cross-validation on samples with known metadata.