APR.Feature function

Adjacent position relationship feature.

Adjacent position relationship feature.

This feature was proposed by Li et al.(2012). In fact this is similar to the PN.FDTF encoding scheme (Huang et al., 2006). In this encoding, correlation between adjacent nucleotides are taken into account. For any nucleotide sequence with nn nucleotides, every two consecutive positions between 1 and nn, i.e., (1,2),(2,3)...(n1,n)(1, 2), (2, 3)... (n-1, n) constitute an APR feature set. For each pair of positions, frequencies of 16 dinucleotides are first computed for both positive and negative dataset, and then the diffence matrix is obtained by substracting the 16(n1)16*(n-1) dinucleotide frequency matrix of positive set from that of negative set. The difference matrix is then be used for encoding of nucleotide sequences. In this encoding procedure each sequence with nn nucleotides can be encoded into a vector of (n1)(n-1) numeric observations.

APR.Feature(positive_class, negative_class, test_seq)

Arguments

  • positive_class: Nucleotide sequence dataset of positive class, must be an object of class DNAStringSet.
  • negative_class: Nucleotide sequence dataset of negative class, must be an object of class DNAStringSet.
  • test_seq: Nucleotide sequences to be encoded into numeric feature vectors, must be an object of class DNAStringSet.

Details

The class DNAStringSet can be obtained by using the function readDNAStringSet avialble in Biostrings package Bioconductor. Here, the sequences must be supplied in FASTA format. Both positive and negative datasets are required for this encoding scheme.

Returns

A numeric matrix of order m(n1)m*(n-1), where mm is the number of sequences in test_seq and nn is the length of sequence.

References

Li, J.L., Wang, L.F., Wang, H.Y., Bai, L.Y. and Yuan, Z.M. (2012). High-accuracy splice sites prediction based on sequence component and position features. Genetics and Molecular Research, 11(3): 3432-3451.

Author(s)

Prabina Kumar Meher, Indian Agricultural Statistics Research Institute, New Delhi-110012, INDIA

See Also

PN.Fdtf.Feature, WAM.Feature

Examples

data(droso) positive <- droso$positive negative <- droso$negative test <- droso$test pos <- positive[1:200] neg <- negative[1:200] tst <- test enc <- APR.Feature(positive_class=pos, negative_class=neg, test_seq=tst) enc
  • Maintainer: Prabina Kumar Meher
  • License: GPL (>= 2)
  • Last published: 2019-05-28

Useful links