search the node texts for an expression
Usage
# S4 method for class 'atctree'
look(h, txt)
Arguments
- h
an object of class atctree
- txt
word or part of a word or regular expression to search for
Value
returns a vector of nodes whose text matches
Examples
h <- atctree(schema="full")
nds <- look(h, "inflamm")
# a search for inflammatory substances and families
# plot second element of nds (M01AX):
cutting(h, nds[2]) |> plot(circle=TRUE)
#> Remember you can hover over nodes to see text