gigwa_set_run: Set the current active GIGWA run

View source: R/qbms.R

gigwa_set_runR Documentation

Set the current active GIGWA run

Description

This function will update the current active run in the internal state object using the 'studyDbIds' retrieved from GIGWA which is associated to the given run_name parameter.

Usage

gigwa_set_run(run_name)

Arguments

run_name

the name of the run

Value

no return value

Author(s)

Khaled Al-Shamaa, k.el-shamaa@cgiar.org

See Also

set_qbms_config, gigwa_set_project, gigwa_list_runs

Examples

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")
}

khaled-alshamaa/QBMS documentation built on Jan. 27, 2024, 6:40 a.m.