getRates | R Documentation |
Extracts and summarize the estimates of rates of evolution from the fitted models.
getRates(x, Q.model = "ER", gap.char = "-")
x |
a model fit result. |
Q.model |
one of "ER" or "DEL". Default is "ER". |
gap.char |
the charactaed state used to identify gaps. Default is "-". |
Returns a vector if the model has a global rate (i.e., model "ER"). If the estimated model was of type "DEL", this function will return a matrix with the distinct rates for the observed states and between the observed states and gaps.
This functions will substitute invariant positions for NA when necessary.
Please check the help for 'fitCorrSeq' for more information.
a vector or a matrix with the evolutionary rates estimated for each sequence position.
Daniel Caetano
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.