readTorsionDir: Read Directory of Torsion predicted files (readTorsionDir)

Description Usage Arguments Value Examples

View source: R/readTorsionDir.R

Description

This function reads a directory that contains the output files of SPINE-X. It gets the directory path as the input and returns a list of vectors. Each vector includes the phi and psi angle of the amino acids of the sequence.

Usage

1
readTorsionDir(dirPath)

Arguments

dirPath

The path of the directory which contains all output files of SPINE-X. Each file belongs to a sequence.

Value

returns a list of vectors with all the predicted phi and psi angles for each amino acid. The length of the list is the number of files(sequences) and the length of each vector is (2(phi-psi)*length sequence(i)).

Examples

1
2
3
PredTorsioNdir<-system.file("testForder",package="ftrCOOL")
PredTorsioNdir<-paste0(PredTorsioNdir,"/TorsioNdir/")
PredVectASA<-readTorsionDir(PredTorsioNdir)

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