Open DrGonEWilD opened 3 weeks ago
Reproducible example:
library(pcadapt)
path_to_file <- system.file("extdata", "geno3pops.bed", package = "pcadapt")
filename <- read.pcadapt(path_to_file, type = "bed")
x <- pcadapt(input = filename, K = 20)
plot(x, option = "screeplot")
I'll try to update the ggplot code from {pcadapt}.
Basically all the functions here:
Tell me if you want to submit a PR yourself.
Warning message: The
<scale>
argument ofguides()
cannot beFALSE
. Use "none" instead as of ggplot2 3.3.4. ℹ The deprecated feature was likely used in the pcadapt package. Please report the issue at https://github.com/bcm-uga/pcadapt/issues. This warning is displayed once every 8 hours. Calllifecycle::last_lifecycle_warnings()
to see where this warning was generated.