Skip to contents

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

Usage

gigwa_get_samples()

Value

A vector of all samples in the selected run.

Author

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

Examples

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")
  
  # Get a list of all samples in the selected run
  samples <- gigwa_get_samples()
}