read.fasta | R Documentation |
Reads FASTA files. Supports the reading of FASTA files with sequences wrapping multiple lines.
read.fasta(file)
file |
A string specifying the path to a FASTA file to read. |
A data frame with fields for sequence names and sequences.
write.fasta
for writing FASTA files.
read.fastq
for reading FASTQ files.
write.fastq
for writing FASTQ files.
# Get path to example FASTA file.
path_to_fasta_file<-system.file("extdata",
"example_query_sequences.fasta",
package="LocaTT",
mustWork=TRUE)
# Read the example FASTA file.
read.fasta(file=path_to_fasta_file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.