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

plot_loinc_classification(
  conn,
  concept_class_obj,
  range,
  file,
  vocab_schema = "omop_vocabulary",
  color_by = "standard_concept",
  skip_plot = FALSE,
  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