cape (version 2.0.2)

plotSVD: Plot the results of the singular value decomposition of the phenotype matrix

Description

This function plots the results of the singular value decomposition (SVD) of the phenotype matrix. This plot is useful for selecting eigentraits for further analysis.

Usage

plotSVD(data.obj, orientation = c("vertical", "horizontal"), neg.col = "blue", pos.col =  "brown", light.dark = "dark")

Arguments

data.obj
The object in which all results are stored. See read.population.
orientation
A character string ("vertical", or "horizontal") indicating whether the plot should be vertically or horizontally oriented.
neg.col
The color in which to plot the negative values. Colors can be one of the following: "green", "purple", "orange", "blue", "brown", "yellow", or "gray."
pos.col
The color in which to plot the positive values. Colors can be one of the following: "green", "purple", "orange", "blue", "brown", "yellow", or "gray."
light.dark
Either "light" or "dark" depending on the desired range of colors used.

Value

Invisibly returns the fraction of variance accounted for by each ET.

See Also

get.eigentraits