\HeaderA{readCdfHeader}{Reads the header associated with an Affymetrix CDF file}{readCdfHeader}
\keyword{file}{readCdfHeader}
\keyword{IO}{readCdfHeader}
\begin{Description}\relax
Reads the header of an Affymetrix CDF file using the Fusion SDK.
\end{Description}
\begin{Usage}
\begin{verbatim}
 readCdfHeader(filename)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{filename}] name of the CDF file.
\end{ldescription}
\end{Arguments}
\begin{Value}
A named list with the following components:
\begin{ldescription}
\item[\code{rows}] the number of rows on the chip.
\item[\code{cols}] the number of columns on the chip.
\item[\code{probesets}] the number of probesets on the chip.
\item[\code{qcprobesets}] the number of QC probesets on the chip.
\item[\code{reference}] the reference sequence (this component only exists
for resequencing chips).
\item[\code{chiptype}] the type of the chip.
\item[\code{filename}] the name of the cdf file.
\end{ldescription}

normal-bracket23bracket-normal
\end{Value}
\begin{Author}\relax
James Bullard, \email{bullard@stat.berkeley.edu} and 
Kasper Daniel Hansen, \email{khansen@stat.berkeley.edu}
\end{Author}
\begin{References}\relax
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{readCdfUnits}{readCdfUnits}()}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
for (zzz in 0) {

# Find any CDF file
cdfFile <- findCdf()
if (is.null(cdfFile))
  break

header <- readCdfHeader(cdfFile)
print(header)

} # for (zzz in 0)
\end{ExampleCode}
\end{Examples}

