View source: R/filter_sequences.R
kmer_screen | R Documentation |
Kmer screening function
kmer_screen(seqs, model, threshold = 0.3, k = 5, quiet = FALSE)
seqs |
A DNAbin object |
model |
A Profile Hidden Markov model ("PHMM" object) generated by |
threshold |
The maximum kmer distance allowed from the reference model before a sequence is discarded. |
k |
The k-mer size to be used for calculating the distance matrix, parsed to kmer::mbed. Note that high values of k may be slow to compute and use a lot of memory due to the large numbers of calculations required, particularly when the residue alphabet is also large. |
quiet |
Whether progress should be printed to the console. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.