Learn R Programming

cooccurNet (version 0.1.6)

readseq: readseq

Description

Reading a sequence file in fasta format

Usage

readseq(dataFile="", dataType="protein", debug=FALSE)

Arguments

dataFile
character, a FASTA data file name with full path.
dataType
character, 'protein' by default, the type of data will be processed. It could be 'DNA', 'RNA', 'protein', 'SNP' or 'other'.
debug
logic, FALSE by default, to indicate whether the debug message will be displayed or not.

Value

list,contains the original data matrix and some other information.

Examples

Run this code
data = readseq(dataFile=getexample(dataType="protein"), dataType="protein")

Run the code above in your browser using DataLab