read.fasta: Read fasta file

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

Description

Read fasta file from a specified file path or URL.

Usage

1

Arguments

file

A character string naming the file path.

Details

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

Value

Returns a fasta 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.nxs for importing data from other data types.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
### read.fasta() example
### 
cat(
">No305",
"NTTCGAAAAACACACCCACTACTAAAANTTATCAGTCACT",
file = "dna1.fas", sep = "\n")

sequences <- read.fasta("dna1.fas")

unlink("dna1.fas")

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