base5to10: Converts a base representation (base 4 default) to normal...

Description Usage Arguments Value Author(s)

Description

Returns an integer in base 10, calculated from the base 4 (default) representation

Usage

1
base5to10(number, k, base = 5)

Arguments

number

A vector of integers representing a number in base 4 (default) which correspond to 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, corresponding to the number in base 4(default)

Author(s)

Tom Mayo [email protected]


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