Learn R Programming

annaffy (version 1.44.0)

is.annpkg: Determine if packages contain annotation

Description

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

Usage

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.

Examples

Run this code
pkgnames <- installed.packages()[,"Package"]
pkgnames <- pkgnames[1:5]
pkgnames[is.annpkg(pkgnames)]

Run the code above in your browser using DataLab