readss2Dir: Read ss2 predicted Directory (readss2Dir)

Description Usage Arguments Value Examples

View source: R/readss2Dir.R

Description

This function reads a directory that contains the output files of PSIPRED It gets the directory path as the input and returns a list of vectors. Each vector contains the secondary structure of the amino acids in a peptide/protein sequence.

Usage

1
readss2Dir(dirPath)

Arguments

dirPath

The path of the directory which contains all predss2 files. Each file belongs to a sequence.

Value

returns a list of vectors with all the predicted secondary structure for each amino acid. The length of the list is the number of files(sequences) and the length of each vector is (length sequence(i))

Examples

1
2
3
PredSS2dir<-system.file("testForder",package="ftrCOOL")
PredSS2dir<-paste0(PredSS2dir,"/ss2Dir/")
listPredVect<-readss2Dir(PredSS2dir)

ftrCOOL documentation built on Nov. 30, 2021, 1:07 a.m.

Related to readss2Dir in ftrCOOL...