\HeaderA{UniGeneQuery}{Create a Query String for a UniGene Identifier}{UniGeneQuery}
\keyword{interface}{UniGeneQuery}
\begin{Description}\relax
Given a set of UniGene identifiers this function creates a set of URLs
that an be used to either open a browser to the requested location or
that can be used as anchors in the construction of HTML output.
\end{Description}
\begin{Usage}
\begin{verbatim}
UniGeneQuery(query, UGaddress="UniGene/", type="CID")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{query}] The UniGene identifiers. 
\item[\code{UGaddress}] The address of UniGene, within the NCBI repository.
\item[\code{type}] What type of object is being asked for; eithe CID or SID 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Using published details from NCBI we construct an appropriate string
for directing a web browser to the information available at the NCBI
for that genomic product (usually an EST).
\end{Details}
\begin{Value}
A character vector containing the query string.
\end{Value}
\begin{Note}\relax
Be very careful about automatically querying this resource. It is
considered antisocial behavior by the owners.
\end{Note}
\begin{Author}\relax
Robert Gentleman
\end{Author}
\begin{References}\relax
NCBI, \url{http://www.ncbi.nih.gov/}
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{locuslinkQuery}{locuslinkQuery}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  q1<-UniGeneQuery(c("Hs.293970", "Hs.155650"))
  q1
  if( interactive())
    browseURL(q1[1])

\end{ExampleCode}
\end{Examples}

