dss_plot_pca | R Documentation |
Two PCA plots (variables and individuals) are displayed for the reference dataset. On the individuals plot, confidence ellipses for both sexes can be added. The target individual is particularly highlighted.
dss_plot_pca(ref, imputed_ref, target,
ellipses = c("none", "classical", "robust"),
labels = FALSE)
ref |
dataframe of reference individuals, typically returned by
|
imputed_ref |
imputed dataframe of reference individuals, typically returned by
|
target |
1-row dataframe, target individual. |
ellipses |
character string; type of confidence ellipses to be displayed. |
labels |
boolean: should all individuals IDs be displayed on the plot? |
The PCA is computed after standardization of variables (all variables are scaled to unit variance upstream).
No value is returned.
This function is only a wrapper with quite limited facilities for
customizing the plot. It is still possible to compute and plot the
PCA directly with PCA
for more options.
Frédéric Santos.
PCA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.