gigwa_get_samples: Get the samples list of the current active GIGWA run

View source: R/qbms.R

gigwa_get_samplesR Documentation

Get the samples list of the current active GIGWA run

Description

This function will retrieve the samples list of the current active run as configured in the internal state object using 'gigwa_set_run()' function.

Usage

gigwa_get_samples()

Value

a vector of all samples in the selected run

Author(s)

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

See Also

set_qbms_config, gigwa_set_run

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

# get a list of all samples in the selected run
samples <- gigwa_get_samples()
}

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