get_kmers: Get k-mers

Description Arguments Value

Description

Counts the occurrences of k-mers (the size of k-mer should be larger than one) B - the (Rcpp) type of an input sequence S - the (c++) type of an item of the sequence

Arguments

s

input sequence

d

integer vector representing gaps in k-mer

alphabet

Rcpp sequence representing alphabet

val2str_converter

function representing the conversion to string representation of an item

kmer_decorator

function that can add extra characters in order to enhance the presentation of k-mer.

Value

hash map containing string representations of k-mers with their occurrence counts


piotr-ole/kmer documentation built on Nov. 14, 2019, 8:10 p.m.