Description Usage Arguments Details Value Note Author(s) References See Also Examples
Read fasta file from a specified file path or URL.
1 | read.fasta(file = NULL)
|
file |
A character string naming the file path. |
Read fasta file from a specified file path (usually local machine) or URL.
Returns a fasta object stored as a vector of character strings.
To add.
Jinlong zhang jinlongzhang01@gmail.com
None.
See Also read.phy
, read.nxs
for importing data from other data types.
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.