generateKmers {RCAS} | R Documentation

## Generate K-mers

### Description

Given a list of characters, generates all possible fixed length strings

### Usage

    generateKmers(k, letters = c("A", "C", "G", "T"))

### Arguments

`k` | The length of the strings to be generated
`letters` | A character vector

### Value

Vector of strings

### Examples

    generateKmers(3, c('A', 'C', 'G'))

[Package RCAS version 1.20.0 Index]