checkKmers {transite} | R Documentation

## Check Validity of Set of k-mers

### Description

Checks if the provided set of k-mers is valid. A valid set of k-mers is (1) non-empty, (2) contains either only hexamers or only heptamers, and (3) contains only characters from the RNA alphabet (A, C, G, U)

### Usage

    checkKmers(kmers)

### Arguments

`kmers` | set of k-mers

### Value

`TRUE` if set of k-mers is valid

### See Also

Other k-mer functions: `calculateKmerEnrichment`, `computeKmerEnrichment`, `drawVolcanoPlot`, `empiricalEnrichmentMeanCDF`, `generateKmers`, `generatePermutedEnrichments`, `homopolymerCorrection`, `permTestGeometricMean`, `runKmerSPMA`, `runKmerTSMA`

### Examples

    # valid set
    checkKmers(c("ACGCUC", "AAACCC", "UUUACA"))

    # invalid set (contains hexamers and heptamers)
    checkKmers(c("ACGCUC", "AAACCC", "UUUACAA"))

[Package transite version 1.2.1 Index]