Description Usage Arguments Examples
View source: R/plot.dendromap.R
Plot dendromap object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
dendromap class object from |
y |
optional data matrix. Must have labelled rows containing all tips in |
color.fcn.clade |
color function for clade highlights in |
color.fcn.node |
color function for node circles |
heatmap.offset |
offset put into |
col.tr.left |
Left side boundary of column tree. Default is 0.5 |
col.tr.width |
Width of column tree. Default is 0.45 |
col.tr.bottom |
Bottom of column tree. Deafult is 0.75 |
1 2 3 4 5 6 7 8 9 10 11 12 13 | set.seed(3)
m=1e3
n=7
row.tree <- rtree(m) %>% phytools::force.ultrametric()
col.tree <- rtree(n)
S <- treeSim(10,row.tree,col.tree,prob.row=0.7,prob.col=0.8,
col.node = n+1,fix.col.node = T,sd = 1e3,
row.depth.min=2,row.depth.max=3)
plot(S,col.tr.left = 0.47,
col.tr.width = 0.505,
col.tr.bottom = 0.74)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.