Description Usage Arguments Value Distinguishing different primary methods
This is an alternative to phylotax()
which does not require a phylogenetic
tree. Instead, multiple assignments are resolved by strict consensus at each
rank in turn. For eaxample, if for a particular sequence all available
assignments at the kingdom, phylum, and class agree, but there is
disagreement at the order level, then the consensus assignment takes the
kingdom, phylum, and class assignments to be correct, but does not include
any assignment at the order level or below.
1 2 3 4 5 |
taxa |
( |
ranks |
( |
method |
(a single |
A phylotax object.
Primary methods can be distinguished in three ways:
Not at all. For this option, taxa
should not have a column named
"method
", and the the method
argument to lca_consensus()
should be
NULL
.
A single column named "method
" in taxa
. If method=NULL
but taxa
has a "method
" column, then this column is assumed to uniquely
identify the methods. Assignments made by lca_consensus()
will have
"consensus
" in the method column. This value can be changed by setting
the method
argument to an unnamed character
string, e.g.,
"method = 'cons'
".
Custom columns. If the method
argument is a named character vector,
then the names are taken to be columns in taxa
(which must exist) and
the values are taken to be the values for each column which should be
used for consensus annotations, e.g.,
"method = c(algorithm = "consensus", region = "ITS2")
". Each unique
combination of values in these columns is treated as a distinct method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.