calculateKmerScores {transite} | R Documentation

## k-mer Score Calculation

### Description

C++ implementation of k-mer score calculation

### Usage

    calculateKmerScores(kmers, pwm)

### Arguments

`kmers` | list of k-mers
`pwm` | position weight matrix

### Value

list of PWM scores for the specified k-mers

### Examples

    motif <- getMotifById("M178_0.6")[[1]]
    kmers <- c("AAAAAA", "CAAAAA", "GAAAAA")
    calculateKmerScores(kmers, as.matrix(motifMatrix(motif)))

[Package transite version 1.0.2 Index]