read_fasta | R Documentation |
Reads a FASTA file. This is the FASTA parser for metacoder. It simply tries
to read a FASTA file into a named character vector with minimal fuss. It does
not do any checks for valid characters etc. Other FASTA parsers you might
want to consider include read.FASTA
or
read.fasta
.
read_fasta(file_path)
file_path |
( |
named character
vector
# Get example FASTA file
fasta_path <- system.file(file.path("extdata", "silva_subset.fa"),
package = "metacoder")
# Read fasta file
my_seqs <- read_fasta(fasta_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.