Learn R Programming

AmyloGram (version 1.1)

read_txt: 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.

Value

a list of sequences. Each element has class SeqFastaAA. If connection contains no characters, function prompts warning and returns NULL.

Details

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