View source: R/utilityFunctions_NGS.r
twoPatternReadFilter | R Documentation |
Filter input sequences for two patterns
twoPatternReadFilter(reads, leftPattern, rightPattern, maxMismatch, prevPatternPos = NULL)
reads |
input sequences |
leftPattern |
left pattern motive. |
rightPattern |
right pattern motive. |
maxMismatch |
maximal number of miss matches. |
prevPatternPos |
prev pattern posiotion; default is set to NULL. |
list object
reads <- DNAStringSet(c('ACTGGGTTT','ACCCTGGGTTT')) leftPattern <- 'CT' rightPattern <- 'TTT' maxMismatch <- 0 twoPatternReadFilter(reads, leftPattern, rightPattern, maxMismatch)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.