read_txt: Read sequences from .txt file

View source: R/read_fasta.R

read_txtR Documentation

Read sequences from .txt file

Description

Read sequence data saved in text file.

Usage

read_txt(connection)

Arguments

connection

a connection to the text (.txt) file.

Details

The input file should contain one or more amino acid sequences separated by empty line(s).

Value

a list of sequences.

Examples

sequences <- read_txt(system.file("PlastoGram/sequences.txt", package = "PlastoGram"))

michbur/biogram documentation built on Feb. 4, 2024, 6:38 p.m.