DDE {ftrCOOL} | R Documentation |
Dipeptide Deviation from Expected Mean value (DDE)
Description
This function computes the dipeptide deviation from the expected mean value.
Usage
DDE(seqs, label = c())
Arguments
seqs |
is a FASTA file with amino acid sequences. Each sequence starts with a '>' character. Also, seqs could be a string vector. Each element of the vector is a peptide/protein sequence. |
label |
is an optional parameter. It is a vector whose length is equivalent to the number of sequences. It shows the class of each entry (i.e., sequence). |
Value
A feature matrix with 20^2=400 number of columns. The number of rows is equal to the number of sequences.
Examples
filePrs<-system.file("extdata/proteins.fasta",package="ftrCOOL")
mat<-DDE(seqs=filePrs)
[Package ftrCOOL version 2.0.0 Index]