read_txt {AmpGram}R 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")))

[Package AmpGram version 1.0 Index]