\HeaderA{aafSearchText}{Search metadata annotation text}{aafSearchText}
\keyword{file}{aafSearchText}
\begin{Description}\relax
Searches Bioconductor metadata annotation package text for specific
strings or Perl compatible regular expressions.
\end{Description}
\begin{Usage}
\begin{verbatim}
aafSearchText(chip, colnames, text, logic = "OR")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{chip}] name of the chip data package
\item[\code{colnames}] character vector of metadata column names to search
\item[\code{text}] character vector of strings/regular expressons to match
\item[\code{logic}] type of logic to use, "AND" or "OR"
\end{ldescription}
\end{Arguments}
\begin{Value}
A character vector of probe ids matching the search criteria.
\end{Value}
\begin{Author}\relax
Colin A. Smith, \email{annaffy@colinsmith.org}
\end{Author}
\begin{SeeAlso}\relax
\LinkA{aafSearchGO}{aafSearchGO}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
if (require(hgu95av2)) {
    aafSearchText("hgu95av2", "Description", c("kinase", "interferon"))
    aafSearchText("hgu95av2", c("Gene Ontology", "Pathway"), "ribosome")
}
\end{ExampleCode}
\end{Examples}


