Description Usage Arguments Examples
phangornMCMC This function runs a Markov chain Monte Carlo (MCMC) algorithm to generate a set of trees which is returned with their likelihoods.
1 2 3 |
x |
a set of DNA sequences, typically an object of class "DNAbin". |
ntrees |
the number of trees to output. |
burnin |
the number of trees to discard as <e2><80><9c>burn-in<e2><80><9d>. |
frequency |
the frequency at which trees are sampled. |
tree0 |
the initial tree of the chain; by default, a fastME / UPGMA tree from a JC69 distance is generated. |
model |
the transition model |
printevery |
an integer specifying the frequency at which to print the numbers of trees proposed and accepted; set to 0 to cancel all printings. |
bf |
base frequencies |
Q |
rate matrix |
1 2 3 4 5 6 7 | ## Not run:
data(yeast)
out <- phangornMCMC(yeast)
plot(out)
getMCMCtrees()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.