Arguments
x
the input data, which should be a list or file type.
k
the k value of kmer, it should be an integer larger than 0.
upto
generate all the kmers: 1mer, 2mer, ..., kmer. The output feature vector is
the combination of all these kmers. The default value of this parameter is False.
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.
reverse
make reverse complements into a single feature, The default value of this parameter is False.
if reverse is True, this method returns the reverse compliment kmer feature vector.