subString: subString

Description Usage Arguments Author(s) See Also Examples

View source: R/subString.R

Description

This function gets a subsequence from a DNAString, RNAString, AAString, BString, DNAStringSet, RNAStringSet, AAStringSet, BStringSet object from the Biostrings package.

Usage

1
subString(x, s, e)

Arguments

x

DNAStringSet, RNAString, AAString, BString, DNAStringSet, RNAStringSet, AAStringSet, BStringSet

s

start vector

e

end vector

Author(s)

Kristian K Ullrich

See Also

subseq

Examples

1
2
3
4
data("MySequences", package = "distIUPAC")
myStart<-c(1,3)
myEnd<-c(2,4)
mySubSequence <- subString(MySequences, myStart, myEnd)

kullrich/distIUPAC documentation built on July 20, 2018, 2:30 a.m.