convertlist {goCluster} | R Documentation

## Function to convert user input into a character vector

### Description

These three functions are utility function for the class clusterAnnotationGO-abp. They are used to split a comma separated list into a character vector.

### Usage

    convertlist(X, list, all)
    convertontology(X)
    convertevidence(X)

### Arguments

`X` | The user input
`list` | A list of all possible options.
`all` | An additional option that select all possible entries of the list.

### Details

This function splits a comma separated list given by the user and matches it against a predefined list of possible options. A character vector holding the selected options is returned.

### Value

A character vector with the options that were specified by the user.

### Author(s)

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

### See Also

`clusterAnnotationGO-abp-class`

### Examples

    convertevidence("ALL")

[Package goCluster version 1.0.0 Index]