R/Modstrings-ModStringViews.R
ModStringViews.Rd
As the XStringViews
the
ModStringViews
is the basic container for storing a set of views on
the same sequence (this time a ModString
object).
# S4 method for ModString
Views(subject, start = NULL, end = NULL, width = NULL, names = NULL)
See XStringViews
.
a ModStringViews
object.
For the details have a look at the
XStringViews
class.
seq <- ModDNAString("AGC6AGC6")
seq
#> 8-letter ModDNAString object
#> seq: AGC6AGC6
v <- Views(seq, start = 3:1, end = 6:8)
v
#> Views on a 8-letter ModDNAString subject
#> subject: AGC6AGC6
#> views:
#> start end width
#> [1] 3 6 4 [C6AG]
#> [2] 2 7 6 [GC6AGC]
#> [3] 1 8 8 [AGC6AGC6]