readTorsionDir {ftrCOOL}R Documentation

Read Directory of Torsion predicted files (readTorsionDir)

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

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



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


[Package ftrCOOL version 2.0.0 Index]