Description Author(s) Examples
The seqR
package provides in-memory, probabilistic,
highly-optimized, and multi-threaded implementation of k-mer counting.
Jadwiga Słowik
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Load exemplary sequences
data(CsgA)
# Counting 1-mers (amino acid composition)
count_kmers(
CsgA,
k = 1,
batch_size = 1)
# Counting 1-mers and 2-mers
count_multimers(
CsgA,
k_vector = c(1, 2),
batch_size = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.