View source: R/plottingFuncs.R
treePlotRers | R Documentation |
returnRersAsTree
or treePlotNew
, respectivelyPlot a cladogram with RERs shown as either labels (type="label") or a color
heatmap along the branches (type="color")
Wraps around returnRersAsTree
or treePlotNew
, respectively
treePlotRers(
treesObj,
rermat = NULL,
index = NULL,
type = c("label", "color"),
phenv = NULL,
figwid = 10,
...
)
treesObj. |
A treesObj created by |
rermat. |
A residual matrix, output of the getAllResiduals() function |
index. |
A character denoting the name of gene, or a numeric value corresponding to the gene's row index in the residuals matrix |
type. |
Whether to display RERs as branch labels ('label') or a heatmap ('color') |
phenv. |
A phenotype vector returned by |
.... |
Additional parameters to be passed to |
Plots a cladogram of the master tree with RERs displayed as branch labels or colors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.