lower_kmer: Finds the (k-1)mer integer representation ffrom the kmer...

Description Usage Arguments Value Author(s) Examples

Description

Taking in an integer representing the kmer at that site, it returns the integer for the (k-1)mer starting at the same place

Usage

1
lower_kmer(number_b10, k, base = 5)

Arguments

number_b10

An integer in base 10, representing a kmer

k

The length of kmers we are assessing. Used as a check.

base

The base of our representation, default is 4. This corresponds to the number of distinct nucleotides we are processing.

Value

An integer, representing the (reverse complementary kmer)k-1)mer

Author(s)

Tom Mayo t.mayo@ed.ac.uk

Examples

1
lower_kmer(100, 3, base = 4)

TomMayo/kmermods documentation built on May 9, 2019, 4:53 p.m.