View source: R/plottingFuncs.R
plotRers | R Documentation |
Plot the residuals reflecting the relative evolutionary rates (RERs) of a gene across species present in the gene tree
plotRers(
rermat = NULL,
index = NULL,
phenv = NULL,
rers = NULL,
method = "k",
xlims = NULL,
plot = 1,
xextend = 0.2,
sortrers = F
)
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 |
phenv. |
A phenotype vector returned by |
A plot of the RERs with foreground species labelled in red, and the rest in blue
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.