Description Usage Arguments Value Author(s) See Also Examples
Get the scaled rate matrix form a QMatrix object.
1 2 | ## S3 method for class 'QMatrix'
getScaledMatrix(this, ...)
|
this |
A QMatrix object. |
... |
Not used. |
A matrix object.
Botond Sipos, Gregory Jordan
For more information see QMatrix
.
1 2 3 4 5 6 7 8 | # create a GeneralSubstitution object
# provide an Alphabet object and the rates
p<-GeneralSubstitution(alphabet=BinaryAlphabet(), rate.list=list("1->0"=1,"0->1"=3))
# get the QMatrix object from p
m<-p$QMatrix
# get the scaled rate matrix from m
m$scaledMatrix
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.