View source: R/scaleTreeRates.R
scaleTreeRates | R Documentation |
This function performs the phylogenetic methods for analysis of heterogenity in rates of discrete character evolution described in Jonika et al. (2023).
scaleTreeRates(tree, tip.states, model, fixedQ = NULL,
max.ratio = 2, nbins = 10, max.transition = 1,
var.start = FALSE, pi = "fitzjohn")
tree |
a tree of class |
tip.states |
a named vector of tip states for some discrete character which is associated with the phylogeny. Order can differ from order of tips on phylogeny |
model |
the model which should be used to perform likelihod calculations. This can either be a |
fixedQ |
optional argument to be used when Q-matrix with pre-estimated rates is available. Deafults to |
max.ratio |
|
nbins |
|
max.transition |
|
var.start |
|
pi |
|
A phylogeny of class phylo
and phyloscaled
. Phylogeny has all elements normally included in an object of class phylo
, with an additional element:
scalar |
a |
Maximos Chin and Heath Blackmon
http://coleoguy.github.io/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.