Description Usage Arguments See Also Examples
View source: R/x_print_concept_siblings.R
Print all of a concept's parents and siblings.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
concept_obj |
Concept class object or a concept id. |
parse_expr
character(0)
tibble
filter
,select
split_deselect
map
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 44 45 | library(chariot)
library(tidyverse)
conn <- connectAthena()
# Drug Domain
concept_obj <- get_concept(conn = conn,
concept_id = 1308216)
concept_obj
print_concept_siblings(conn = conn,
concept_obj = concept_obj)
print_concept_siblings(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_siblings(conn = conn,
concept_obj = concept_obj)
print_concept_siblings(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_siblings(conn = conn,
concept_obj = concept_obj)
print_concept_siblings(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_siblings(conn = conn,
concept_obj = concept_obj)
print_concept_siblings(conn = conn,
concept_obj = concept_obj,
level_of_separation_type = "min")
dcAthena(conn = conn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.