getS4ClassHierarchy {RGtkViewers} | R Documentation |
This creates a data structure describing the
S4 class hierarchy informaion in a suitable format
for link{createInheritanceTree}
to process and create a visual display of the relationships between
the classes.
getS4ClassHierarchy(classes = getClasses())
classes |
a character vector giving the names of the classes of interest. By default, all session-level classes are used. One can specify a subset of this list, or entirely different class located in another package/environment. |
This is a simple iteration over the class names that adds each class to a its ancestor's list of child classes.
A list with an element for each of the classes
in classes
and any parent or base classes
that they directly or indirectly descend from.
Each element, say A, is a simple character vector giving
the names of the classes that are directly derived from the
particular class, A.
Duncan Temple Lang <duncan@research.bell-labs.com>
createInheritanceTree
S4ClassView