d.phy2df {EnvNJ} | R Documentation |
Converts a phylip distance matrix into a either an R dataFrame or matrix.
d.phy2df(phyfile, as = 'matrix')
phyfile |
path to the file containing the distances in phylip format. |
as |
class of the output R data. It should be either 'dataframe' or 'matrix'. |
Either a dataframe or a matrix containing the distances read from the phy file.
d.df2pny()
## Not run: d.phy2df(phyfile = "./data_t/d_dummy.txt")