Learn R Programming

AmpGram (version 1.0)

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.

Details

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

Examples

Run this code
# NOT RUN {
(sequences <- read_txt(system.file("AmpGram/prots.txt", package = "AmpGram")))
# }

Run the code above in your browser using DataLab