| calculateKmerScores {transite} | R Documentation |
C++ implementation of k-mer score calculation
calculateKmerScores(kmers, pwm)
kmers |
list of k-mers |
pwm |
position weight matrix |
list of PWM scores for the specified k-mers
motif <- getMotifById("M178_0.6")[[1]]
kmers <- c("AAAAAA", "CAAAAA", "GAAAAA")
calculateKmerScores(kmers, as.matrix(motifMatrix(motif)))