subXString {Biostrings}R Documentation

Fast substring extraction

Description

Functions for fast substring extraction.

Usage

  subXString(x, start=NA, end=NA, length=NA)
  ## S4 method for signature 'XString':
substr(x, start=NA, stop=NA)
  ## S4 method for signature 'XString':
substring(text, first=NA, last=NA)

Arguments

x An XString object for subXString. A character vector, an XStringViews, XString, or MaskedXString object for substr or substring.
start A numeric vector.
end A numeric vector.
length A numeric vector.
stop A numeric vector.
text A character vector, an XStringViews or an XString object.
first A numeric vector.
last A numeric vector.

Details

subXString is deprecated in favor of subseq.

Value

An XString object of the same base type as x for subXString.

A character vector for substr and substring.

See Also

subseq, letter, XString-class, XStringViews-class


[Package Biostrings version 2.14.12 Index]