powered by
This function creates all possible k-combinations of the given alphabets.
nameKmer(k = 3, type = "aa", num = 0)
is a numeric value.
can be one of "aa", "rna", "dna", or "num".
When type is set to "num", it shows the numeric alphabet( 1,..,,num).
a string vector of length (20^k for 'aa' type), (4^k for 'dna' type), (4^k for 'rna' type), and (num^k for 'num' type).
# NOT RUN { all_kmersAA<-nameKmer(k=2,type="aa") all_kmersDNA<-nameKmer(k=3,type="dna") all_kmersNUM<-nameKmer(k=3,type="num",num=2) # }
Run the code above in your browser using DataLab