Learn R Programming

bioseq (version 0.1.4)

read_fasta: Read sequences in FASTA format

Description

Read sequences in FASTA format

Usage

read_fasta(file, type = "DNA")

Value

A DNA, RNA or AA vector (depending on type argument).

Arguments

file

A path to a file, a connection or a character string.

type

Type of data. Can be "DNA" (the default), "RNA" or "AA".

See Also

Other input/output operations: write_fasta()