convert10to5_c: Converts a normal (base 10) integer to base representation...

Description Usage Arguments Value Author(s)

Description

Returns a base 4 (default) number as a vector calculated from the base 10 equivalent

Usage

1
convert10to5_c(number_b10, k, base = 4L)

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

A vector of integers representing a number in base 4 (default)

Author(s)

Tom Mayo [email protected]


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