train_idtaxa: Train an IDTAXA model to a fasta file with...

Description Usage Arguments Value

Description

IDTAXA needs to train a model on a taxonomic reference database before it can be used to classify sequences. This step can be time consuming, so it is performed separately from the actual classification, and the result can be saved for future analyses. This is a convenience function that makes it easy to fit a model using DECIPHER::LearnTaxa() on the same reference file that would be used for taxonomy_sintax().

Usage

1
train_idtaxa(fasta)

Arguments

fasta

(character string) path to a fasta file containing the reference sequences, with headers formatted as required for SINTAX.

Value

an object of classes Taxa and Train, as required for taxonomy_idtaxa() or DECIPHER::IdTaxa()


brendanf/phylotax documentation built on March 3, 2021, 2:21 p.m.