Create rooted tree from a taxonomy matrix
data frame contains taxonomy matrix used for generating tree (see distDf in example)
taxon used for rooting the taxonomy tree
A rooted taxonomy tree as an object of class "phylo".
Vinh Tran email@example.com
1 2 3 4 5 6 7
data("ppTaxonomyMatrix", package = "PhyloProfile") # prepare matrix for calculating distances distDf <- subset(ppTaxonomyMatrix, select = -c(ncbiID, fullName)) row.names(distDf) <- distDf$abbrName distDf <- distDf[, -1] # create taxonomy tree rooted by ncbi10090 createRootedTree(distDf, "ncbi10090")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.