read.nxs(fil = NULL)
read.phy
, read.fasta
for importing data from other data types.
#####
##### read.nxs() example
data(fil.nxs)
writeLines(fil.nxs, "example.nxs")
nxs <- read.nxs("example.nxs")
as.fasta(nxs)
unlink("example.nxs")
Run the code above in your browser using DataLab