Description Usage Arguments Value Author(s) Examples
Taking in an integer representing the kmer at that site, it returns the integer for the (k-1)mer starting at the same place
1 | kmer_dot_prod(kmers, paras, warp = NA)
|
kmers |
is a vector of integers of any length representing kmers over a window |
paras |
is a vector of length equal to the total number of kmers |
warp |
is a vector of length as long as the kmer vector, with the multiplicative weights for how much to warp the entry |
An double, representing the dot product of the parameters with what would usually be the vector of kmer abundances (warped or not)
Tom Mayo t.mayo@ed.ac.uk
1 2 3 | kmers <- c(0,7,89,45,75,65,22,12)
paras <- rep(1,100)
kmer_dot_prod(kmers,paras)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.