Learn R Programming

rDNAse (version 1.1-1)

extrPseKNC: The Pseudo K-tupler Composition Descriptor

Description

The Pseudo K-tupler Composition Descriptor

Usage

extrPseKNC(x, lambda = 1, k = 3, normalize = FALSE, w = 0.5, customprops = NULL)

Arguments

x
the input data, which should be a list or file type.
lambda
an integer larger than or equal to 0 and less than or equal to L-2 (L means the length of the shortest sequence in the dataset). It represents the highest counted rank (or tier) of the correlation along a DNA sequence. Its default value is 3.
k
an integer larger than 0 represents the k-tuple. Its default value is 3.
normalize
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.
w
the weight factor ranged from 0 to 1. Its default value is 0.05.
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.

Value

A vector

Details

This function calculates the pseudo k-tupler composition Descriptor

References

Guo S H, Deng E Z, Xu L Q, et al. iNuc-PseKNC: a sequence-based predictor for predicting nucleosome positioning in genomes with pseudo k-tuple nucleotide composition. Bioinformatics, 2014: btu083.

See Also

See extrPseDNC

Examples

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

Run the code above in your browser using DataLab