Description Usage Arguments Value Author(s) See Also Examples
Get the list of unique Alphabet objects associated to Site objects aggaregated by a Sequence object. The returned list contains unique instances of the Alphabet class. The symbol sets are not compared, so two instances of the same class are considered to be different.
1 2 | ## S3 method for class 'Sequence'
getUniqueAlphabets(this, ...)
|
this |
A Sequence object. |
... |
Not used. |
A list of Alphabet objects.
Botond Sipos, Gregory Jordan
For more information see Sequence
.
1 2 3 4 5 6 7 8 9 10 11 12 | # create a Sequence object with some Alphabet objects attached
s<-Sequence(
alphabets=list(NucleotideAlphabet(),
BinaryAlphabet(),
NucleotideAlphabet()),
length=10
)
# get the list of attached alphabets
s$alphabets
# get the unique list of attahced Alphabet objects
getUniqueAlphabets(s)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.