Description Usage Arguments Value Author(s) See Also Examples
Specify a new symbol set for an Alphabet object.
1 2 | ## S3 method for class 'Alphabet'
setSymbols(this, set, ...)
|
this |
An Alphabet object. |
set |
The vector containing the new symbols set, automatically converted into a character vector. |
... |
Not used. |
The new symbol set as a character vector.
Botond Sipos, Gregory Jordan
For more information see Alphabet
.
1 2 3 4 5 6 7 8 9 10 11 | # create a new alphabet object
a<-Alphabet()
a
# specify a new symbol set
setSymbols(a,c(0,1))
a
# the same, but now use the virtual field
a$symbols<-c("A","T","G","C")
a
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.