checkannotationpackage {goCluster} | R Documentation

## Check if an annotation package contains the specified environment.

### Description

This is a utility function to verify user input. It checks whether a given annotation package provides a required environment.

### Usage

    checkannotationpackage(X, Y)
    checkgoannotation(X)
    checkchrannotation(X)

### Arguments

`X` | Package name
`Y` | Name of one or several environments as a character vector.

### Details

The function tries to load the package and subsequently checks for the presence of the specified environments in that package. If any of them are not present the function will return `FALSE`. `checkgoannotation` and `checkchrannotation` directly check for necessary environments with gene ontology information or chromosome information.

### Value

`TRUE` if the package contains the required environment or `FALSE` if the environment cannot be found.

### Author(s)

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

### See Also

`clusterAnnotationGO-abp-class` `clusterAnnotationChromosome-abp-class`

### Examples

    checkgoannotation("YEAST")

[Package goCluster version 1.0.3 Index]