| ProfilePlot | R Documentation | 
Plot the phylogenetic profiles along with the phylogenetic tree. This function is based on 'heatmap.2()' from 'gplots' package.
ProfilePlot(profile, dend, ...)
| profile | a data frame or matrix contains the phylogenetic profiles. Each column is a profile. The row names must match the tip labels of the tree. | 
| dend | the dendrogram that will be plotted on the left side. See 'TreeToDen()'. | 
| ... | some other parameters available for 'heatmap.2()', such as 'main', 'xlab', 'labRow'... | 
d <- TreeToDend(rtree(50))
p <-  matrix(sample(0:1,100, replace=T), nrow=50)
rownames(p) <- labels(d)
ProfilePlot(p, d, main="Plot of two profiles")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.