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("PlastoGram/sequences.txt", package = "PlastoGram"))

BioGenies/PlastoGram documentation built on May 25, 2023, 10:45 p.m.