gigwa_get_samples: Get the Samples List of the Current Active GIGWA Project

View source: R/gigwa.R

gigwa_get_samplesR Documentation

Get the Samples List of the Current Active GIGWA Project

Description

Retrieve the list of samples associated with the currently active GIGWA project, set using 'gigwa_set_project()'.

Usage

gigwa_get_samples()

Value

A vector of sample names in the selected project.

Author(s)

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

See Also

set_qbms_config, gigwa_set_project

Examples

if (interactive()) {
  set_qbms_config("https://gigwa.southgreen.fr/gigwa/", 
                  time_out = 300, engine = "gigwa", no_auth = TRUE)
  gigwa_set_db("Sorghum-JGI_v1")
  gigwa_set_project("Nelson_et_al_2011")
  samples <- gigwa_get_samples()
}

icarda-git/QBMS documentation built on Sept. 25, 2024, 10:45 p.m.