Learn R Programming

QBMS (version 1.0.0)

gigwa_get_metadata: Get the Metadata of the Current Active GIGWA Run

Description

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

Usage

gigwa_get_metadata()

Arguments

Value

A data.frame of all metadata associated with the samples in the selected run.

Author

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

See Also

set_qbms_config, gigwa_set_run

Examples

Run this code
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("3kG_10M")

  # Select a project by name
  gigwa_set_project("3003_ind")
  
  # Select a specific run by name
  gigwa_set_run("1")
  
  # Get a list of all samples in the selected run
  metadata <- gigwa_get_metadata()
}

Run the code above in your browser using DataLab