Skip to contents

Get the taxonomy vocabularies, optionally filtered by taxonomy name and by term matching.

Usage

mica.vocabularies(
  mica,
  query = NULL,
  locale = "en",
  target = "variable",
  taxonomies = NULL,
  df = TRUE
)

Arguments

mica

A Mica object

query

The search query

locale

The language for labels (when NULL labels are not included in the result)

target

What the taxonomy is about: variable (default), dataset, study, network

taxonomies

Taxonomy names to subset. If NULL or empty all taxonomies are returned

df

Return a data.frame (default is TRUE)

See also

Other taxonomies functions: mica.taxonomies()

Examples

if (FALSE) { # \dontrun{
m <- mica.login("https://mica-demo.obiba.org")
mica.vocabularies(m,target="variable", query="cancer", locale = "en")
mica.logout(m)
} # }