get_hash: Get hash of k-mer that is in a given sequence

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Get hash of k-mer that is in a given sequence

Usage

1
get_hash(s, d, begin_index, pos)

Arguments

s

integer vector representing input sequence

d

integer vector representing the gaps between consecutive elements of k-mer

begin_index

integer value representing the begin index of the k-mer

pos

logical value representing whether k-mer is positional

Value

integer value representing the result of a hashing function


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