generateKmers: Generate K-mers

View source: R/motif_analysis.R

generateKmersR 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'))


BIMSBbioinfo/RCAS documentation built on Feb. 7, 2024, 4:38 p.m.