name.check {geiger}R Documentation

Compares taxa in data and tree

Description

This function is a general tool for checking for concordance between a data file and a phylogenetic tree. For the data, names can be specified as the names of objects in the vector, rownames of the data array or as 'x.names'. The function finds and lists all taxa present in data set but not in tree, and vice-versa.

Usage

name.check(phy, data, data.names=NULL)

Arguments

phy an object of class "phylo"
data data for tips of the tree
data.names

{ names of the tips in the order of the data; if this is not given, names will be taken from the names or rownames of the object data}

Details

Value

Tree.not.data Taxa in tree but not data
Data.not.tree Taxa in data but not tree

...

Note

Author(s)

Luke J. Harmon

References

See Also

Examples


data(geospiza)
attach(geospiza)

name.check(geospiza.tree, geospiza.data)


[Package geiger version 1.0-91 Index]