plot_pca_contribution.Rd
Plot PCA contribution of each variable.
plot_pca_contribution(
pca,
component = 1,
chrom,
pos,
locus_type = NULL,
y_buffer = 0
)
output of pca_wsaf()
function.
which component to plot.
the chromosome corresponding to each contribution value.
the genomic position corresponding each contribution value.
defines the colour of each bar.
(percent). A buffer added to the bottom of each y-axis, making room for other annotations to be added.