getPhyloGroups: Get list of groups defined by phylogeny

View source: R/getPhyloGroups.R

getPhyloGroupsR Documentation

Get list of groups defined by phylogeny

Description

Get list of groups defined by phylogeny

Usage

getPhyloGroups(tree)

Arguments

tree

Phylogeny

Value

list of groups and their complements, i.e. lists of groups split by each edge of the unrooted phylogeny

Examples

tr <- rtree(8)
tr$tip.label <- 1:8
par(mfrow=c(1,1))
plot.phylo(tr,use.edge.length=FALSE);edgelabels()
Grps <- getPhyloGroups(tr)

reptalex/phylofactor documentation built on Feb. 28, 2024, 3:19 p.m.