pcaStructure | R Documentation |
Function to perform the PCA on the kinship matrix
pcaStructure(
G,
n.clusters = 3,
plot.var = T,
plot.pca = T,
save.pca.plot = F,
pca.plot.name = "PCA of G",
...
)
G |
Is the relationship matrix |
n.clusters |
The number of cluster to be solved over the kmeans algorithm |
plot.var |
Logial to indicate if the scree plot is displayed |
plot.pca |
Logical to indicate if the PCA plot is displayed with ggplot2 |
save.pca.plot |
Logical to indicate if the PCA plot will be saved |
pca.plot.name |
Is the name of the file for the saved plot |
... |
Arguments passed to the ggsave function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.