createUnrootedTree: Create unrooted tree from a taxonomy matrix

View source: R/parsePhylotree.R

createUnrootedTreeR Documentation

Create unrooted tree from a taxonomy matrix

Description

Create unrooted tree from a taxonomy matrix

Usage

createUnrootedTree(df)

Arguments

df

data frame contains taxonomy matrix used for generating tree

Value

A unrooted taxonomy tree as an object of class "phylo".

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

See Also

taxa2dist for distance matrix generation from a taxonomy matrix, getTaxonomyMatrix for getting taxonomy matrix, ppTaxonomyMatrix for a demo taxonomy matrix data

Examples

data("ppTaxonomyMatrix", package = "PhyloProfile")
createUnrootedTree(ppTaxonomyMatrix)

BIONF/PhyloProfile documentation built on Dec. 18, 2024, 7:33 a.m.