Extract character data from a phyDat object as a string
PhyToString(phy, ps = "", useIndex = TRUE, byTaxon = TRUE,
concatenate = TRUE)
An object of class phyDat
Character specifying text, perhaps ';', to append to the end of the string
(default: TRUE) Print duplicate characters multiple times, as they appeared in the original matrix
If TRUE, write one taxon followed by the next. If FALSE, write one character followed by the next.
Logical specifying whether to concatenate all characters/taxa into a single string, or to return a separate string for each entry.