concor.trees: Analyze Concordances on Trees with All Groupings

Description Usage Arguments See Also Examples

View source: R/concor.trees.R

Description

An internal function of backboneBP. To summarize the concordances with all groupings of each of trees, and returns trees that meets all groupings to the main analysis of backboneBP.

Usage

1
concor.trees(trees, taxa, level = NULL)

Arguments

trees

a list of objects of class "phylo". A list of test trees such as single gene trees.

taxa

a data.frame with tips and groupings. The first column must be the names of all tips in trees. Other columns specify the groupings.

level

a character specifying the level used as grouping. Should be one of the column names of taxa. Defaults as NULL and use the second column of taxa.

See Also

backboneBP

Examples

1
2
3
4
5
6
7
## Not run: 
data(Brassidata)
trees <- Brassidata$trees
taxa <- Brassidata$taxaTable
uconcort <- concor.trees(trees, taxa, level = 2)

## End(Not run)

Chien-Hsun/rePhylo documentation built on May 19, 2020, 3:15 a.m.