Read.fasta: Read 'FASTA' files

View source: R/aaa.r

Read.fastaR Documentation

Read 'FASTA' files

Description

Simple reading of 'FASTA' files

Usage

Read.fasta(file)

Arguments

file

File name

Details

Simple reading of 'FASTA' files.

Value

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

Author(s)

Alexey Shipunov

Examples

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

shipunov documentation built on Feb. 16, 2023, 9:05 p.m.