plotRers: Plot the residuals reflecting the relative evolutionary rates...

Description Usage Arguments Value

View source: R/plottingFuncs.R

Description

Plot the residuals reflecting the relative evolutionary rates (RERs) of a gene across species present in the gene tree

Usage

1
2
3
plotRers(rermat = NULL, index = NULL, phenv = NULL, rers = NULL,
  method = "k", xlims = NULL, plot = 1, xextend = 0.2,
  sortrers = F)

Arguments

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 tree2Paths or foreground2Paths

Value

A plot of the RERs with foreground species labelled in red, and the rest in blue


nclark-lab/RERconverge documentation built on Dec. 3, 2018, 7:12 p.m.