kmers | R Documentation |

oligonucleotideFrequency, but less letters and more convenient.

kmers(x, k = 6)

`x` |
BSgenome, DFrame with |

`k` |
the length of the kmers (default is 6) |

The companion `kmax`

function finds the maximum frequency kmer for each
contig and plots all of them together for comparison purposes.

a matrix of contigs (rows) by kmer frequencies (columns)

kmax

data(genbank_mito, package="spiky") mtk6 <- kmers(genbank_mito, k=6) kmax(mtk6) data(phage, package="spiky") phk6 <- kmers(phage, k=6) kmax(phk6)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.