DDE: Dipeptide Deviation from Expected Mean value (DDE)

Description Usage Arguments Value Examples

View source: R/DDE.R

Description

This function computes the dipeptide deviation from the expected mean value.

Usage

1
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

1
2
filePrs<-system.file("extdata/proteins.fasta",package="ftrCOOL")
mat<-DDE(seqs=filePrs)

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

Related to DDE in ftrCOOL...