read.nxs: Read nexus file

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

Function to read nexus file.

Usage

1
read.nxs(fil = NULL)

Arguments

fil

A character string naming the file path.

Details

Read nexus file from a specified file path (usually local machine) or URL.

Value

Returns a nexus "nxs" object stored as a vector of character strings.

Note

To add.

Author(s)

Jinlong zhang jinlongzhang01@gmail.com

References

None

See Also

See Also read.phy, read.fasta for importing data from other data types.

Examples

1
2
3
4
5
6
7
#####
##### read.nxs() example
data(fil.nxs)
writeLines(fil.nxs, "example.nxs")
nxs <- read.nxs("example.nxs")
as.fasta(nxs)
unlink("example.nxs")

seqRFLP documentation built on May 2, 2019, 6:02 a.m.