read_txt: Read sequences from .txt file

View source: R/read_txt.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("AmpGram/prots.txt", package = "AmpGram")))

michbur/AmpGram documentation built on March 22, 2022, 12:13 a.m.