matchTipsAndTraits: Match matrix row/col names with phylo4d tips/traits

Description Usage Arguments Value

Description

Check for constitency of rows and columns names between a matrix of traits values and phylo4d object.

Usage

1
2
matchTipsAndTraits(x, p4d = NULL, p4d.tips = NULL, p4d.traits = NULL,
  subset = TRUE)

Arguments

x

a matrix of data.

p4d

a phylo4d object.

p4d.tips

tips labels (relevant if p4d is NULL).

p4d.traits

traits labels (relevant if p4d is NULL).

subset

a logical. Should the data matrix be subsetted using tips and traits labels.

Value

The data matrix (eventually subsetted). An error if no consistency between the data and the tree.



Search within the phylosignal package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.