if (interactive()) {
# Configure your GIGWA connection
set_qbms_config("https://gigwa.southgreen.fr/gigwa/",
time_out = 300, engine = "gigwa", no_auth = TRUE)
# Select a database by name
gigwa_set_db("Sorghum-JGI_v1")
# Select a project by name
gigwa_set_project("Nelson_et_al_2011")
# Select a specific run by name
gigwa_set_run("run1")
marker_matrix <- gigwa_get_variants(max_missing = 0.2,
min_maf = 0.35,
samples = c("ind1", "ind3", "ind7"))
}
Run the code above in your browser using DataLab