Description Usage Arguments Value Author(s) See Also Examples
Delete a collection of sites aggregated by a Sequence object.
1 2 | ## S3 method for class 'Sequence'
deleteSubSequence(this, index, ...)
|
this |
A Sequence object. |
index |
An index vector specifying a collection of sites to be deleted. It is set to 1:seq$length if omitted. |
... |
Not used. |
Invisible TRUE or errror.
Botond Sipos, Gregory Jordan
For more information see Sequence
.
1 2 3 4 5 6 7 8 9 | # create a nucleotide sequence
s<-NucleotideSequence(string="ATATATATATATATAT")
# delete sites 2, 4 and 6
deleteSubSequence(s,c(2,4,6))
s
# delete sites in the range 3:6
deleteSubSequence(s,3:6)
s
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.