Skip to contents

Plots the count of non-obsolete terms in each major branch of the Human Disease Ontology.

Usage

plot_branch_counts(
  DO_repo,
  out_dir = "graphics/website",
  w = 8,
  h = 5.6,
  aspect_ratio = 1
)

Arguments

DO_repo

The local path to the HumanDiseaseOntology repo, as a string, or a DOrepo object.

out_dir

The directory where the plot "DO_branch_count.png" should be saved, as a string. If NULL, the plot is not saved to disk.

w

The width of the plot in inches, as numeric.

h

The height of the plot in inches, as numeric.

aspect_ratio

The aspect ratio of the panel (i.e. plot area), as numeric. If NULL, the aspect ratio will not be set.