Description Usage Arguments See Also Examples
View source: R/x_print_concept_hierarchy.R
If a level of the hierarchy has more than 10 concepts, the first 10 are printed with an ellipses is included to indicate only the first 10 rows are shown.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
concept_obj |
Concept class object or a concept id. |
character(0)
tibble
split_by
map
arrange
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | library(chariot)
library(tidyverse)
conn <- connectAthena()
# Drug Domain
concept_obj <- get_concept(conn = conn,
concept_id = 1308216)
concept_obj
print_concept_hierarchy(conn = conn,
concept_obj = concept_obj)
print_concept_hierarchy(conn = conn,
concept_obj = concept_obj,
level_of_separation_type = "min")
# Cancer Condition Domain
concept_obj <- get_concept(conn = conn,
concept_id = 4187868)
concept_obj
print_concept_hierarchy(conn = conn,
concept_obj = concept_obj)
print_concept_hierarchy(conn = conn,
concept_obj = concept_obj,
level_of_separation_type = "min")
# Chronic Disease Domain
concept_obj <- get_concept(conn = conn,
concept_id = 319835)
concept_obj
print_concept_hierarchy(conn = conn,
concept_obj = concept_obj)
print_concept_hierarchy(conn = conn,
concept_obj = concept_obj,
level_of_separation_type = "min")
# Measurement Domain
concept_obj <- get_concept(conn = conn, concept_id = 4298431)
concept_obj
print_concept_hierarchy(conn = conn,
concept_obj = concept_obj)
print_concept_hierarchy(conn = conn,
concept_obj = concept_obj,
level_of_separation_type = "min")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.