\HeaderA{sam2html}{HTML page for a SAM object}{sam2html}
\keyword{IO}{sam2html}
\keyword{file}{sam2html}
\begin{Description}\relax
Generates a html page for a SAM object. This html page can contain general information
as the number of differentially expressed genes and the estimated FDR, the SAM plot and
gene-specific information on the differentially expressed genes.
\end{Description}
\begin{Usage}
\begin{verbatim}
 sam2html(sam.out, delta, filename, addStats = TRUE, addPlot = TRUE, addGenes = TRUE,
        ll = FALSE, refseq = TRUE, symbol = TRUE, omim = TRUE, ug = TRUE,
        chipname = "", cdfname = NULL, n.digits = 3, bg.col = "white", text.col = "black",
        link.col = "blue", plotArgs = plotArguments(), bg.plot.adjust = FALSE, 
        plotname = NULL, plotborder = 0, tableborder = 1, new.window = TRUE, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{sam.out}] a SAM object
\item[\code{delta}] a numerical value specifying the Delta value
\item[\code{filename}] character string naming the file in which the output should be
stored. Must have the suffix ".html"
\item[\code{addStats}] logical indicating if general information as the number of differentially
expressed genes and the estimated FDR should be added to the html page
\item[\code{addPlot}] logical indicating if the SAM plot should be added to the html page
\item[\code{addGenes}] logical indicating if gene-specific information on the differentially
expressed genes should be added to the html page
\item[\code{ll}] logical indicating if Locus Links should be added to the output. Ignored if
\code{addGenes=FALSE}
\item[\code{refseq}] logical indicating if RefSeq links should be added to the output. Ignored
if \code{addGenes=FALSE}
\item[\code{symbol}] logical indicating if the gene symbols should be added to the output.
Ignored if \code{addGenes=FALSE}
\item[\code{omim}] logical indicating if OMIM links should be added to the output. Ignored
if \code{addGenes=FALSE}
\item[\code{ug}] logical indicating if UniGene links should be added to the output. Ignored if
\code{addGenes=FALSE}
\item[\code{chipname}] character string specifying the chip type used in the analysis. Must
be specified as in the meta-data section of Bioconductor (e.g., \code{"hgu133a"}
for the Affymetrix HG-U133A chip). Need not to be specified if \code{cdfname}
is specified. Ignored if \code{addGenes=FALSE}
\item[\code{cdfname}] character string specifying the cdf name of the used chip. Must exactly follow
the nomenclatur of the Affymetrix chips (e.g., \code{"HG-U133A"} for the
Affymetrix HG-U133A chip). If specified, links to the Affymetrix webpage for the
interesting genes will be added to the output. Ignored if \code{addGenes=FALSE}
\item[\code{n.digits}] integer specifying the number of decimal places used in the output
\item[\code{bg.col}] specification of the background color of the html page. See \code{?par} for
how colors can be specified
\item[\code{text.col}] specification of the color of the text used in the html page. See \code{?par} for
how colors can be specified
\item[\code{link.col}] specification of the color of the links used in the html file. See \code{?par}
for how colors can be specified
\item[\code{plotArgs}] further arguments for generating the SAM plot. These are the arguments used
by \code{sam.plot2} and \code{plot}, respectively. See \code{?plotArgs} for these
arguments. Ignored if \code{addPlot=FALSE}
\item[\code{bg.plot.adjust}] logical indicating if the background color of the SAM plot should be
the same as the background color of the html page. If \code{FALSE} (default) the 
background of the plot is white. Ignored if \code{addPlot=FALSE}
\item[\code{plotname}] character string naming the file in which the SAM plot is stored. This file
is needed when the SAM plot should be added to the html page. If not specified the SAM
plot will be stored as png file in the same folder as the html page. Ignored if \code{addPlot=FALSE}
\item[\code{plotborder}] integer specifying the thickness of the border around the plot. By default,
\code{plotborder=0}, i.e.\ no border is drawn around the plot. Ignored if 
\code{addPlot=FALSE}
\item[\code{tableborder}] integer specifying the thickness of the border of the table. Ignored if
\code{addGenes=FALSE}
\item[\code{new.window}] logical indicating if the links should be opened in a new window
\item[\code{...}] further graphical arguments for the SAM plot. See \code{?plot.default} and \code{?par}.
Ignored if \code{addPlot=FALSE}
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Holger Schwender, \email{holger.schw@gmx.de}
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{SAM-class}{SAM.Rdash.class}}, \code{\LinkA{sam}{sam}}, \code{\LinkA{link.genes}{link.genes}}, \code{\LinkA{link.siggenes}{link.siggenes}},
\code{\LinkA{sam2excel}{sam2excel}}, \code{\LinkA{plotArguments}{plotArguments}}
\end{SeeAlso}


