gigwa_get_samples | R Documentation |
This function will retrieve the samples list of the current active run as configured in the internal state object using 'gigwa_set_run()' function.
gigwa_get_samples()
a vector of all samples in the selected run
Khaled Al-Shamaa, k.el-shamaa@cgiar.org
set_qbms_config
, gigwa_set_run
if(interactive()) {
# config 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")
# get a list of all samples in the selected run
samples <- gigwa_get_samples()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.