read.fasta {rbiom} | R Documentation |
Parse a fasta file into a named character vector.
Description
Parse a fasta file into a named character vector.
Usage
read.fasta(file, ids = NULL)
Arguments
file |
A file with fasta-formatted sequences. Can optionally be compressed with gzip, bzip2, xz, or lzma. |
ids |
Character vector of IDs to retrieve. The default, |
Value
A named character vector in which names are the fasta headers and values are the sequences.
[Package rbiom version 1.0.3 Index]