| injectHardMask {Biostrings} | R Documentation |
[TODO]
injectHardMask(x, letter="+")
x |
A MaskedXString or XStringViews object. |
letter |
A single letter. |
An XString object of the same length as the orignal object x
if x is a MaskedXString object, or of the same length
as subject(x) if it's an XStringViews object.
H. Pages
replaceLetterAtLoc,
chartr,
XString,
XStringViews-class,
MaskedXString-class
mask0 <- Mask(mask.width=29, start=c(3, 10, 25), width=c(6, 8, 5))
x <- DNAString("ACACAACTAGATAGNACTNNGAGAGACGC")
masks(x) <- mask0
x
injectHardMask(x)