repeatMask | R Documentation |
This function masks homopolymeric repeats longer than a given width. These are hot-spots of sequencing error and can confound the analysis.
repeatMask(x, ...) ## S4 method for signature 'DNAString' repeatMask(x, w=5, flank=TRUE) ## S4 method for signature 'deepSNV' repeatMask(x, w=5, flank=TRUE)
x |
An object. Either a |
... |
Additional param passed to specific methods |
w |
Integer. The minimal length at which repeats should be masked. Default |
flank |
Boolean. Indicates whether the sites adjacent to the repeat should also be masked. |
A boolean vector where TRUE indicates a non-homopolymeric region.
Moritz Gerstung
data(HIVmix) which(repeatMask(HIVmix))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.