Description Usage Arguments Value See Also
The function select an approproate plot to show a relationship between an eigenvector and a variable from the metadata. If the variable is numeric or integer a scatterplot will be produced, if the variable is a factor or a character a boxplot will be produced. The eigenvector will be plotted on the y axis a and the variable from the metadata will be plotted on the x axis. The plot is based on ggplot.
1 | eigenVariablePlot(pcs, variables, PC = 1, var.name, title = NULL)
|
pcs |
a matrix with eigen vectors, V matrix of an SVD |
variables |
a data frame with clinical/technical variables pertaining to the data |
PC |
number of PC to plot, default is 1 (first) |
var.name |
name of the variable from |
title |
plot title |
ggplot object
codefs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.