| selectChild {goCluster} | R Documentation |
This function generates a menu that allows the user to choose a class that implements an abstract class.
selectChild(X, message)
X |
The class name of the parent class. |
message |
The informational message that will be shown together with the menu. |
selectChild will offer a menu to choose a child of
an abstract class. It retrieves all descendants of the class
specified by X in the global environment and displays the
ones extending the base class.
The name of the class chosen by the user.
Gunnar Wrobel, http://www.gunnarwrobel.de.
goCluster-class,
clusterAnnotation-class,
clusterData-class,
clusterAlgorithm-class,
clusterStatistic-class,
clusterSignif-class,
clusterVisual-class.
selectCore.
if(interactive()){
## This example can only be run in an interactive mode
selectChild("clusterAlgorithm", "Please choose one of the following algorithms")
}