"score_plot" plots the projection of the individuals onto the
first two principal components.
score_plot(x, i = 1, j = 2, pop, col, plt.pkg = "ggplot")an output from pcadapt containing the scores.
an integer indicating onto which principal component the individuals
are projected when the "scores" option is chosen.
Default value is set to 1.
an integer indicating onto which principal component the individuals
are projected when the "scores" option is chosen.
Default value is set to 2.
a list of integers or strings specifying which subpopulation the individuals belong to.
a character string specifying the package to be used to
display the graphical outputs. Use "plotly" for interactive plots, or
"ggplot" for static plots.