\HeaderA{readCdf}{Parsing a CDF file using Affymetrix Fusion SDK}{readCdf}
\keyword{file}{readCdf}
\keyword{IO}{readCdf}
\keyword{internal}{readCdf}
\begin{Description}\relax
This function parses a CDF file using the Affymetrix Fusion SDK.

\emph{This function will most likely be replaced by the more
general \code{\LinkA{readCdfUnits}{readCdfUnits}()} function.}
\end{Description}
\begin{Usage}
\begin{verbatim}
 readCdf(filename, units=NULL, 
         readXY=TRUE, readBases=TRUE, 
         readIndexpos=TRUE, readAtoms=TRUE, 
         readUnitType=TRUE, readUnitDirection=TRUE, 
         readUnitNumber=TRUE, readUnitAtomNumbers=TRUE, 
         readGroupAtomNumbers=TRUE, readGroupDirection=TRUE, 
         readIndices=FALSE, readIsPm=FALSE, 
         stratifyBy=c("nothing", "pmmm", "pm", "mm"), 
         verbose=0)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{filename}] name of the CDF file.
\item[\code{verbose}] how verbose should the output be. 0 means no output,
with higher numbers being more verbose.
\end{ldescription}
\end{Arguments}
\begin{Value}
A list with one component for each unit. Every component is again a
list with three components    
\begin{ldescription}
\item[\code{groups}] This is again a list with one component for each group
(also called block). The information on each group is a list with 5
components, \code{x}, \code{y}, \code{pbase}, \code{tbase},
\code{expos}.
\item[\code{type}] type of the unit.
\item[\code{direction}] direction of the unit.
\end{ldescription}
\end{Value}
\begin{Note}\relax
This version of the function does not return information on the QC
probes. This will be added in a (near) future release. In addition we
expect the header to be part of the returned object.

So expect changes to the structure of the value of the function in
next release. Please contact the developers for details.
\end{Note}
\begin{Author}\relax
James Bullard, \email{bullard@stat.berkeley.edu} and 
Kasper Daniel Hansen, \email{khansen@stat.berkeley.edu}
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{readCdfHeader}{readCdfHeader}()} for getting the header of a CDF file.
\end{SeeAlso}

