Description Usage Arguments Value Author(s) See Also Examples
View source: R/parsePhyloProfile.R
Sort list of (super)taxa based on a selected reference (super)taxon
1 2 | sortInputTaxa(taxonIDs = NULL, rankName, refTaxon = NULL,
taxaTree = NULL)
|
taxonIDs |
list of taxon IDs (e.g.: ncbi1234, ncbi9999, ...). Default = NULL. |
rankName |
working taxonomy rank (e.g. "species", "phylum",...) |
refTaxon |
selected reference taxon. Default = NULL. |
taxaTree |
taxonomy tree for the input taxa (optional). Default = NULL. |
A taxonomy matrix for the input taxa ordered by the selected reference taxon. This matrix is sorted either based on the NCBI taxonomy info, or based on an user-defined taxonomy tree (if provided).
Vinh Tran tran@bio.uni-frankfurt.de
getNameList
, getTaxonomyMatrix
,
createRootedTree
, sortTaxaFromTree
,
getInputTaxaName
, getInputTaxaID
,
createLongMatrix
1 2 3 4 | taxonIDs <- c(
"ncbi10116", "ncbi123851", "ncbi3702", "ncbi13616", "ncbi9606"
)
sortInputTaxa(taxonIDs, "species", "Homo sapiens", NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.