View source: R/draw_pca_evec.R
draw_pca_evec | R Documentation |
R function draw a PCA from a smartpca/evec dataframe
draw_pca_evec(x, ids = NULL, pc_x = "PC1", pc_y = "PC2", plot_names = FALSE, size_of_name = 3)
x |
dataframe |
ids |
sample ids |
pc_x |
x-axis pc |
pc_y |
y-axis pc |
plot_names |
do we want to plot sample names |
size_of_name |
size of name to plot |
draw_pca_evec(x, ids=c("Sample1", "Sample2"), plot_names=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.