getS4ClassHierarchy {RGtkViewers}R Documentation

Compute S4 class inheritance information

Description

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.

Usage

getS4ClassHierarchy(classes = getClasses())

Arguments

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.

Details

This is a simple iteration over the class names that adds each class to a its ancestor's list of child classes.

Value

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.

Author(s)

Duncan Temple Lang <duncan@research.bell-labs.com>

References

http://www.omegahat.org/RGtk

See Also

createInheritanceTree S4ClassView

Examples



[Package RGtkViewers version 0.7-4 Index]