check_data {PhylogeneticEM} | R Documentation |
check_data
tests if the data matrix has the right format, and if it is
correctly ordered to match the tips names.
check_data(phylo, Y_data, check.tips.names)
phylo |
a phylogenetic tree, class |
Y_data |
matrix of data at the tips (pxntaxa) |
check.tips.names |
(bool) whether to check the tips names or not |
Y_data a re-ordered matrix of data (if necessary)