Learn R Programming

shipunov (version 1.17.1)

Read.fasta: Read 'FASTA' files

Description

Simple reading of 'FASTA' files

Usage

Read.fasta(file)

Value

Data frame with two columns: 'name' and 'sequence'.

Arguments

file

File name

Author

Alexey Shipunov

Details

Simple reading of 'FASTA' files.

Examples

Run this code
write(file=file.path(tempdir(), "tmp.fasta"), ">some_id\nATGC")
Read.fasta(file=file.path(tempdir(), "tmp.fasta"))

Run the code above in your browser using DataLab