Description Usage Arguments Value
Displays Manhattan-like plot for SNPs contributions to Principal Components
1 2 3 4 5 6 7 8 9 | ggplot_manhat(
pca,
gdata,
axes = paste0("PC", 1:10),
byposition = TRUE,
n_points = 2000,
ncol = 5,
...
)
|
pca |
PCA data frame, requires variable contributions |
gdata |
GenotypeData object with snpIDs matching df_vars column DIMRED_VARNAME |
axes |
Axes to plot |
byposition |
Plot the SNPs by chromosome and poistion or by index |
n_points |
Maximum number of largest values to plot, for each principal component |
ncol |
ggplot2::facet_wrap |
... |
Passed to ggplot2::facet_wrap |
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.