Check for constitency of rows and columns names between a matrix of traits values and phylo4d object.
matchTipsAndTraits(
x,
p4d = NULL,
p4d.tips = NULL,
p4d.traits = NULL,
subset = TRUE
)
The data matrix (eventually subsetted). An error if no consistency between the data and the tree.
a matrix of data.
a phylo4d object.
tips labels (relevant if p4d is NULL
).
traits labels (relevant if p4d is NULL
).
a logical. Should the data matrix be subsetted using tips and traits labels.