read.phy: Read phylip file

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

Description

Function to read phylip file.

Usage

1
read.phy(fil = NULL)

Arguments

fil

A character string naming the file path.

Details

Read phylip 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 be added.

Author(s)

Jinlong zhang jinlongzhang01@gmail.com

References

None.

See Also

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

Examples

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

helixcn/seqRFLP documentation built on May 17, 2019, 3:37 p.m.