Autoplots for gt_dapc
objects
autoplot_gt_dapc.Rd
For gt_dapc
, the following types of plots are available:
screeplot
: a plot of the eigenvalues of the discriminant axesscores
a scatterplot of the scores of each individual on two discriminant axes (defined byld
)loadings
a plot of loadings of all loci for a discriminant axis (chosen withld
)components
a bar plot showing the probability of assignment to each cluster
Arguments
- object
an object of class
gt_dapc
- type
the type of plot (one of "screeplot", "scores" and "loadings")
- ld
the principal components to be plotted: for scores, a pair of values e.g. c(1,2); for
loadings
either one or more values.- group
a vector of group memberships to order the individuals in "components" plot. If NULL, the clusters used for the DAPC will be used.
- n_col
for
loadings
plots, if multiple LD axis are plotted, how many columns should be used.- ...
not currently used.