Learn R Programming

rDNAse (version 1.1-1)

extrTAC: The Trinucleotide-based Auto Covariance Descriptor

Description

The Trinucleotide-based Auto Covariance Descriptor

Usage

extrTAC(x, index = c("Dnase I", "Nucleosome"), nlag = 2, normaliztion = FALSE, customprops = NULL, allprop = FALSE)

Arguments

x
the input data, which should be a list or file type.
index
the physicochemical indices, it should be a list and there are 12 different physicochemical indices (Table 2), which the users can choose.
nlag
an integer larger than or equal to 0 and less than or equal to L-2 (L means the length of the shortest DNA sequence in the dataset). It represents the distance between two dinucleotides.
normaliztion
with this option, the final feature vector will be normalized based on the total occurrences of all kmers. Therefore, the elements in the feature vectors represent the frequencies of kmers. The default value of this parameter is False.
customprops
the users can use their own indices to generate the feature vector. It should be a dict, the key is dinucleotide (string), and its corresponding value is a list type.
allprop
all the 12 physicochemical indices will be employed to generate the feature vector. Its default value is False.

Value

A vector

Details

This function calculates the trinucleotide-based auto covariance Descriptor

See Also

See extrTCC and extrTACC

Examples

Run this code
x = x = 'GACTGAACTGCACTTTGGTTTCATATTATTTGCTC'
extrTAC(x)

Run the code above in your browser using DataLab