Determine if packages contain annotation

Share:

Description

Checks to see that the given packages contain all the necessary annotation environments to be usable by annaffy.

Usage

1
  is.annpkg(packages, lib.loc = NULL)

Arguments

packages

character vector containing package names to check

lib.loc

a character vector with path names of R libraries, or NULL. The default value of NULL corresponds to all libraries currently known. If the default is used, the loaded packages are searched before the libraries.

Value

A logical vector indicating whether the packages contain annotation data.

Author(s)

Colin A. Smith, annaffy@colinsmith.org

Examples

1
2
3
pkgnames <- installed.packages()[,"Package"]
pkgnames <- pkgnames[1:5]
pkgnames[is.annpkg(pkgnames)]

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.