is.annpkg: Determine if packages contain annotation

Description Usage Arguments Value Author(s) Examples

View source: R/annotation.R

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)]

annaffy documentation built on Nov. 8, 2020, 8:02 p.m.