BStringViews {Biostrings} | R Documentation |
A container for a set of views on the same BString (or DNAString, or RNAString) object.
[TODO: Put some details here]
In the code snippets below,
x
is a BStringViews object.
subject(x)
:
[TODO: Document me]
first(x)
:
[TODO: Document me]
last(x)
:
[TODO: Document me]
width(x)
:
[TODO: Document me]
desc(x)
:
[TODO: Document me]
In the code snippets below,
subject
is a character vector or a BString
(or DNAString or RNAString) object
and first
, last
and width
are numeric vectors.
views(subject, first, last)
:
[TODO: Document me]
adjacentViews(subject, width, gapwidth)
:
[TODO: Document me]
In the code snippets below,
src
can be a character vector, a connection object,
a BString (or DNAString or RNAString) object
or a BStringViews object,
subjectClass
is a character-string with value "BString"
,
"DNAString"
or "RNAString"
and sep
is a character-string.
BStringViews(src, subjectClass, sep)
:
[TODO: Document me]
In the code snippets below,
x
, object
, e1
and e2
are BStringViews objects,
and i
can be a numeric or logical vector.
length(x)
:
Used to get the length of a BStringViews, i.e., its number of views
x[i]
:
[TODO: Document me]
x[[i]]
:
[TODO: Document me]
e1 == e2
:
[TODO: Document me]
e1 != e2
:
[TODO: Document me]
as.character(x)
:
[TODO: Document me]
toString(x)
:
[TODO: Document me]
nchar(x)
:
[TODO: Document me]
as.matrix(x)
:
[TODO: Document me]
as.list(x)
:
[TODO: Document me]
H. Pages
## A BStringViews object with 12 views v12 <- views(DNAString("TAATAATG"), -2:9, 0:11)