Description Usage Arguments Value Return types
This method uses a common interface to call primary taxonomic assignment algorithms (i.e., those which assign taxonomy based on a taxonomically classified reference sequence database, but not based on the results of other algorithms) from other R packages or external programs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | taxonomy(seq, reference, method, min_confidence = 50, multithread = FALSE, ...)
taxonomy_dada2(
seq,
reference,
multithread = FALSE,
min_confidence,
tryRC = FALSE,
outputBootstraps = TRUE,
verbose = TRUE,
...
)
taxonomy_sintax(
seq,
reference,
min_confidence = NULL,
multithread = FALSE,
exec = NULL,
...
)
taxonomy_idtaxa(
seq,
reference,
multithread = FALSE,
strand = "top",
min_confidence = 40,
...
)
|
seq |
('character“ vector or something that can be coerced to one, or a matrix with sequences as the column names ) Sequences to assign taxonomy |
reference |
('character“ string giving a path to a file or the
result from |
method |
('character“ string) taxonomy assignment method. Currently accepted values are "dada2", "sintax", and "idtaxa". |
min_confidence |
('integer“ between 0 and 100) The minimum confidence to report results. |
multithread |
( |
... |
additional arguments for methods |
tryRC |
( |
outputBootstraps |
( |
verbose |
( |
exec |
( |
strand |
( |
raw results of the taxonomy assignment, of various types depending on
method
.
taxonomy_dada2
and taxonomy(..., method = "dada2")
return a list
with elements "tax" and "boot", as dada2::assignTaxonomy.
taxonomy_sintax
and taxonomy(..., method = "sintax")
return a
data.frame
with columns "label", "hit", "strand", and, if
min_confidence
is not given, "c12n" (short for "classification").
taxonomy_idtaxa
and taxonomy(..., method = "idtaxa")
gives
an S4 object of classes "Taxa" and "Train".
Any of these can be passed to taxtable to get a uniform format suitable
for use in phylotax.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.