BStringViews {Biostrings}R Documentation

The BStringViews class

Description

A container for a set of views on the same BString (or DNAString, or RNAString) object.

Details

[TODO: Put some details here]

Accesor methods

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]

Constructor-like functions and generics

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]

Standard generic methods

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]

Author(s)

H. Pages

See Also

BString, DNAString, RNAString

Examples

  ## A BStringViews object with 12 views
  v12 <- views(DNAString("TAATAATG"), -2:9, 0:11)

[Package Biostrings version 2.0.3 Index]