sort_taxa_from_tree: Get sorted supertaxon list based on a rooted taxonomy tree

Description Usage Arguments Value Author(s) See Also Examples

Description

Get sorted supertaxon list based on a rooted taxonomy tree

Usage

1

Arguments

tree

rooted taxonomy tree

Value

list of taxa sorted according to the taxonomy tree

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

See Also

pp_taxonomy_matrix for a demo taxonomy matrix data

Examples

1
2
3
4
5
6
7
8
9
data("pp_taxonomy_matrix", package = "phyloprofile")
# prepare matrix for calculating distances
distDf <- subset(pp_taxonomy_matrix, select = -c(ncbiID, fullName))
row.names(distDf) <- distDf$abbrName
distDf <- distDf[, -1]
# create taxonomy tree rooted by ncbi10090
rooted_tree <- create_rooted_tree(distDf, "ncbi10090")
# get taxon list sorted from tree
sort_taxa_from_tree(rooted_tree)

trvinh/test documentation built on May 9, 2019, 2:26 a.m.