cutting from an ATC tree
cutting-atctree-method.RdCut out a branch with just the descendants of the specified node.
This will include the direct parent of the specified node as information - this is also useful for grafting.
Examples
h <- atctree(schema="therapeutic")
# Suppose we are interested in a branch of this tree; take a cutting and plot it:
cutting(h, "P01") |> plot()
#> Remember you can hover over nodes to see text
# a different look:
cutting(h, "P01") |> plot(text_angle=0, circle=TRUE)
#> Remember you can hover over nodes to see text