phyDat
Converts a matrix of tokens to a phyDat
object.
MatrixToPhyDat(tokens)PhyDatToMatrix(dataset)
matrix of tokens, probably created with ReadCharacters
or ReadTntCharacters
. Row names should correspond to tip
labels; column names may optionally correspond to
character labels.
A dataset of class phyDat
.
an object of class phyDat
.
PhyDatToMatrix()
returns a matrix corresponding to the
uncompressed character states within a phyDat
object.
PhyDatToMatrix
: Converts a phyDat
object to a matrix of tokens.