classList2Graph {RBioinf} | R Documentation |
Given either a list of classes, or a single class, these functions produce a graph, with the classes as nodes and edges representing subclass/superclass relationships.
classList2Graph(class, fullNames=TRUE) class2Graph(class, fullNames=TRUE)
class |
Either the name of a single class, class2Graph , or the
names of classes, classList2Graph |
fullNames |
Indicates whether to use fully qualified (by package) names for the class. |
Edges are directed, and go from superclasses to subclasses (more specialized to less specialized).
A graph, typically an instance of the graphNEL
class.
R. Gentleman
graphClasses = getClasses("package:graph") classList2Graph(graphClasses)