Learn R Programming

annaffy (version 1.44.0)

aafSearchText: Search metadata annotation text

Description

Searches Bioconductor metadata annotation package text for specific strings or Perl compatible regular expressions.

Usage

aafSearchText(chip, colnames, text, logic = "OR")

Arguments

chip
name of the chip data package
colnames
character vector of metadata column names to search
text
character vector of strings/regular expressons to match
logic
type of logic to use, "AND" or "OR"

Value

A character vector of probe ids matching the search criteria.

See Also

aafSearchGO

Examples

Run this code
if (require(hgu95av2.db)) {
    aafSearchText("hgu95av2.db", "Description", c("kinase", "interferon"))
#   aafSearchText("hgu95av2.db", c("Gene Ontology", "Pathway"), "ribosome")
}

Run the code above in your browser using DataLab