read_txt {CancerGram}R Documentation

Read sequences from .txt file

Description

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

Value

a list of sequences.

Examples

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

[Package CancerGram version 1.0.0 Index]