Description Usage Arguments Value Author(s) See Also Examples
Set the Alphabet object for a QMatrix object.
This method rebuilds the scaled and unscaled rate matrices and so sets all rates to NA.
1 2 | ## S3 method for class 'QMatrix'
setAlphabet(this, value, ...)
|
this |
A QMatrix object. |
value |
An Alphabet object. |
... |
Not used. |
The Alphabet object.
Botond Sipos, Gregory Jordan
For more information see QMatrix
.
1 2 3 4 5 6 7 8 9 10 | # create a QMatrix object
m<-QMatrix()
# set the alphabet
setAlphabet(m,NucleotideAlphabet())
# get the alphabet
getAlphabet(m)
# set alphabet via virtual field
m$alphabet<-BinaryAlphabet()
summary(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.