opalr (version 1.4.1)

harmo.annotations: List the annotations

Description

List the annotations of each of the variables.

Usage

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

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

Value

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

Examples

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

Run the code above in your browser using DataLab