\HeaderA{htmlpage}{Functions to build HTML pages}{htmlpage}
\keyword{manip}{htmlpage}
\begin{Description}\relax
This function is a modification of \code{ll.htmlpage},
designed to be able to create links for more than one set of ids.
\end{Description}
\begin{Usage}
\begin{verbatim}
htmlpage(genelist, filename, title, othernames, table.head, table.center = TRUE, repository = "ll")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{genelist}] A list or \code{data.frame} of character vectors
containing ids to be made into hypertext links. See details for more
information.
\item[\code{filename}] A filename for the resultant HTML table. 
\item[\code{title}] A title for the table. 
\item[\code{othernames}] A list or \code{data.frame} of other things to add
to the table. These will not be hyperlinks. The list of othernames
can contain vectors, matrices, \code{data.frames} or lists. 
\item[\code{table.head}] A character vector of column
headers for the table.
\item[\code{table.center}] Center the table? Defaults to \code{TRUE}. 
\item[\code{repository}] A list of repositories to use
for creating the hypertext links. See details for more information.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This is a modification of \code{ll.htmlpage}, which is
limited to a single column of hyperlinked ids and lists of vectors for
othernames.
This function will accept a list or \code{data.frame} of character
vectors, each containing different ids that are to be turned into
hyperlinks (e.g., a list containing affy ids, genbank accession
numbers, and locus link ids). For instances where there are more than
one id per gene, use a sub-list of character vectors. See the vignette
'prettyOutput' for more information. Othernames should be a list or
\code{data.frame}. Again, if there are multiple entries for a given
gene, use a sub-list.
\end{Details}
\begin{Value}
This function is used only for the side effect of creating an HTML table.
\end{Value}
\begin{Author}\relax
Robert Gentleman <rgentlem@jimmy.harvard.edu>, further
modifications by James W. MacDonald <jmacdon@med.umich.edu>
\end{Author}
\begin{Examples}
\begin{ExampleCode}
library(annotate)
gnames <- as.character(6810:6820)
htmlpage(gnames, "fff.html")
file.remove("fff.html")
\end{ExampleCode}
\end{Examples}

