selectChild {goCluster} | R Documentation

## Choosing the child of an abstract class

### Description

This function generates a menu that allows the user to choose a class that implements an abstract class.

### Usage

    selectChild(X, message)

### Arguments

`X` | The class name of the parent class.
`message` | The informational message that will be shown together with the menu.

### Details

`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.

### Value

The name of the class chosen by the user.

### Author(s)

Gunnar Wrobel, work@gunnarwrobel.de, http://www.gunnarwrobel.de.

### See Also

`goCluster-class`, `clusterAnnotation-class`, `clusterData-class`, `clusterAlgorithm-class`, `clusterStatistic-class`, `clusterSignif-class`, `clusterVisual-class`. `selectCore`.

### Examples

    if(interactive()){
    ## This example can only be run in an interactive mode

    selectChild("clusterAlgorithm", "Please choose one of the following algorithms")
    }

[Package goCluster version 1.4.0 Index]