read_txt: Read sequences from .txt file

Description Usage Arguments Details Value Examples

View source: R/read_txt.R

Description

Read sequence data in a fasta format saved in text file.

Usage

1

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) in a fasta format.

Value

a list of sequences.

Examples

1
(sequences <- read_txt(system.file("CancerGram/prots.txt", package = "CancerGram")))

CancerGram documentation built on Nov. 19, 2020, 5:06 p.m.