Learn R Programming

opalr (version 3.3.1)

dictionary.annotations: List the annotations

Description

List the annotations of each of the variables.

Usage

dictionary.annotations(
  tibble,
  variables = NULL,
  taxonomy = NULL,
  vocabulary = NULL
)

Value

A data frame in long format (one row per annotation).

Arguments

tibble

Tibble to be annotated

variables

A character vector of variable names to be inspected. If NULL or empty, all the columns of the tibble will be inspected.

taxonomy

Filter by taxonomy name(s) (if provided).

vocabulary

Filter by vocabulary name(s) (if provided).

Examples

Run this code
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
cqx <- opal.table_get(o, "CPTP", "Cag_coreqx")
annot <- dictionary.annotations(cqx, taxonomy = "Mlstr_harmo", vocabulary = "status")
opal.logout(o)
}

Run the code above in your browser using DataLab