Description Usage Arguments Value
Displays the selection of SNPs for each principal component. Peaks is a list of variable indexes corresponding to the pca object.
1 2 3 4 5 6 7 8 9 | ggplot_selection(
peaks,
pca,
axes = paste0("PC", 1:10),
ncol = 5,
scales = "free_y",
...,
n_points = 2000
)
|
peaks |
List returned by peak_selection |
pca |
PCA data frame, requires variable contributions |
axes |
Axes to plot |
ncol |
ggplot2::facet_wrap |
scales |
ggplot2::facet_wrap |
... |
Passed to ggplot2::facet_wrap |
n_points |
Maximum number of largest values to plot, for each principal component |
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.