| MaskedModString {Modstrings} | R Documentation |
The functions are implemented as defined in the Biostrings package. Have
a look the MaskedXString class.
## S4 method for signature 'MaskedModString' seqtype(x)
x |
a |
a MaskedModString object.
# Mask positions
mask <- Mask(mask.width=5, start=c(2), width=c(3))
mr <- ModRNAString("ACGU7")
masks(mr) <- mask
# Invert masks
mr <- gaps(mr)
# Drop the mask
masks(mr) <- NULL