Description Usage Arguments Value See Also Examples
The function takes as input the traits and group IDs and will perform a discriminate function analysis and visualize the results. For the pair-wise comparison of groups we use density histograms with points along the x-axis denoting the actual data, Figure 3 For multi-group comparisons we plot a bivariate scatter for all pairwise combinations of discriminate axes. The color of plotting symbols can be altered using the palette argument and the axes comparisons (with max n = number of groups - 1).
1 |
Data |
A (non-empty), numeric matrix of data values |
Groups |
A (non-empty), vector indicating group membership. Length(unique(Group))==2 |
palette |
A color palette for plotting. The default is 'Paired.' See colorbrewer2.org for alternatives. |
axes |
A numeric vector describing which axes to compare. For example, axes=c(1,2) will on produce a single plot comparing the first and second axis. |
Returns a list of ggplot2 plots.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.