View source: R/countChoppedKmers.R
countChoppedKmers | R Documentation |
Function chops k-mers within specified ranges of a sequence and counts them. It uses either a substring method or functionalities from the Biostrings package.
countChoppedKmers(dna.seq, starts, ends, k, method = "auto")
dna.seq |
A string of sequence. |
starts |
Start positions. |
ends |
End positions. |
k |
Size of kmer. |
method |
Method: "Biostrings" or "substring". Default is Biostrings. |
A k-mer-named vector of counts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.