View source: R/plot.bgmycprobmat.R
| plot.bgmycprobmat | R Documentation |
Plots a "bgmycprobmat" matrix ordered by tree topology, alongside the
tree (cf. Reid & Carstens 2012, Fig. 5).
## S3 method for class 'bgmycprobmat'
plot(x, tree, palette = "classic", save_pdf = NULL, legend_cex = 0.5, ...)
x |
A |
tree |
A |
palette |
|
save_pdf |
Optional PDF path (10 x 8 in). |
legend_cex |
Legend text size. |
... |
Unused. |
No return value; called for side effects.
set.seed(123)
data(east10)
res <- bgmyc.singlephy(east10[[1]], mcmc = 100, burnin = 10, thinning = 10)
plot(spec.probmat(res), east10[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.