plot_atc_classification: Plot an ATC Preview as a Tree Diagram

Description Usage Arguments See Also

View source: R/plot_concept.R View source: R/drug_domain.R View source: R/devel-drug_domain2.R

Description

Due to the high amount of records, use preview_atc_classification to determine the appropriate range based on row counts per level to supply the optional range argument. The final output is either 1. the data.tree-style dataframe if the skip_plot argument is set to true, 2. a plot in the Viewer, or 3. a plot saved to an html file as named by the file argument if one is provided.

Due to the high amount of records, use preview_atc_classification to determine the appropriate range based on row counts per level to supply the optional range argument. The final output is either 1. the data.tree-style dataframe if the skip_plot argument is set to true, 2. a plot in the Viewer, or 3. a plot saved to an html file as named by the file argument if one is provided.

Plot a LOINC Class. Due to the high amount of records, use loinc_classification to determine the appropriate range based on row counts per level to supply the optional range argument.

Usage

 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
plot_atc_classification(
  conn,
  concept_obj,
  range,
  file,
  vocab_schema = "omop_vocabulary",
  color_by = "standard_concept",
  verbose = TRUE,
  render_sql = TRUE,
  sleep_time = 1
)

plot_atc_classification(
  conn,
  concept_obj,
  range,
  file,
  vocab_schema = "omop_vocabulary",
  color_by = "standard_concept",
  verbose = TRUE,
  render_sql = TRUE,
  sleep_time = 1
)

plot_atc_classification(
  conn,
  concept_obj,
  range,
  file,
  vocab_schema = "omop_vocabulary",
  color_by = "standard_concept",
  verbose = TRUE,
  render_sql = TRUE,
  sleep_time = 1
)

Arguments

skip_plot

If true, returns the dataframe before it is plotted and plotting is not done. This is an option to troubleshoot or customize a plot beyond what is available within the function.

See Also

tibble bind,mutate_all,distinct,group_by,summarise_all,vars,select,mutate-joins pivot_longer,unite rainbow_hcl c("typewrite", "typewrite"),press_enter collapsibleTreeNetwork

tibble bind,mutate_all,distinct,group_by,summarise_all,vars,select,mutate-joins pivot_longer,unite rainbow_hcl c("typewrite", "typewrite"),press_enter collapsibleTreeNetwork

tibble bind,mutate_all,distinct,group_by,summarise_all,vars,select,mutate-joins pivot_longer,unite rainbow_hcl c("typewrite", "typewrite"),press_enter collapsibleTreeNetwork


meerapatelmd/amphora documentation built on Feb. 5, 2021, 12:53 a.m.