powered by
Specify a new symbol set for an Alphabet object.
# S3 method for Alphabet setSymbols(this, set, ...)
An Alphabet object.
The vector containing the new symbols set, automatically converted into a character vector.
Not used.
The new symbol set as a character vector.
For more information see Alphabet.
Alphabet
# NOT RUN { # 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 # }
Run the code above in your browser using DataLab