MM2.Feature {EncDNA} | R Documentation |
Mapping nucleotide sequences onto numeric feature vectors based on second order nucleotide dependencies.
Description
This encoding procedure is similar to the MM1 encoding. The only difference is consideration of second order dependencies unlike first order in MM2.Feature
. This technique was first conceptualized by Rajapakse and Ho (2005), and adopted by Maji and Garg (2014). The number of parameters to be estimated in MM2 is 64, which is higher than that of MM1 i.e., 16. Further, only the positive class dataset is used for encoding of sequences.
Usage
MM2.Feature(positive_class, test_seq)
Arguments
positive_class |
Sequence dataset of the positive class, must be an object of class |
test_seq |
Sequences to be encoded into numeric vectors, must be an object of class |
Details
For getting an object of class DNAStringSet
, the FASTA sequences should be read using the function readDNAStringSet avialble in the Biostrings package.
Value
A numeric matrix of order m*(n-2)
, where m
is the number of sequences in test_seq
and n
is the length of sequence.
Author(s)
Prabina Kumar Meher, Indian Agricultural Statistics Research Institute, New Delhi-110012, INDIA
References
-
Rajapakse, J. and Ho, L.S. (2005). Markov encoding for detecting signals in genomic sequences. IEEE/ACM Trans Comput Biol Bioinf., 2(2): 131-142.
-
Maji, S. and Garg, D. (2014). Hybrid approach using SVM and MM2 in splice site junction identification. Current Bioinformatics, 9(1): 76-85.
See Also
Examples
data(droso)
positive <- droso$positive
test <- droso$test
pos <- positive[1:200]
tst <- test
enc <- MM2.Feature(positive_class=pos, test_seq=tst)
enc