\HeaderA{read.spot}{Reading in Data Generated by the Image Analysis Package Spot}{read.spot}
\keyword{file}{read.spot}
\begin{Description}\relax
Reads in a data file in table format and creates a data frame with the
same number of rows as there are lines in the file, and the same number
of columns as there are fields in the file.\\
`read.spot': reads in the data file generated by the microarray image
extraction library Spot.
\end{Description}
\begin{Usage}
\begin{verbatim}
read.spot(name, dir=".", sep="\t", header=TRUE, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{name}] character string naming the data file from which to read the
data. 
\item[\code{dir}] character string naming the directory that contains the data
file. The default setting is the current directory.
\item[\code{sep}] the field separator (single character), often "\t"  for
tab delimited fields.  If omitted,  any amount of white space
(blanks or tabs) can separate the fields.  To read fixed format
files, make  sep  a numeric vector giving the initial columns of
the fields. 
\item[\code{header}] logical flag: if TRUE, then the first line of the
file is used as the variable names of the resulting data frame. 
\item[\code{...}] parameters for read.table may also be supplied as arguments to
the function (see  \code{\LinkA{read.table}{read.table}}).  
\end{ldescription}
\end{Arguments}
\begin{Value}
as in \code{\LinkA{read.table}{read.table}}, a data frame
(\code{\LinkA{data.frame}{data.frame}}) containing a representation of the data
in the file.
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{read.table}{read.table}}, \code{\LinkA{data.frame}{data.frame}},
\code{\LinkA{write.spot}{write.spot}}, \code{\LinkA{read.genepix}{read.genepix}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}

## write.spot(mouse.array, 1, "mouse")
## mouse1 <- read.spot("mouse.1.spot")
\end{ExampleCode}
\end{Examples}

