\Header{readSpotTypes}{Read Spot Types File}
\keyword{IO}{readSpotTypes}
\begin{Description}\relax
Read a table giving regular expressions to identify different types of spots in the gene-dataframe.
\end{Description}
\begin{Usage}
\begin{verbatim}
readSpotTypes(file="SpotTypes.txt", sep="\t")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{file}] character string giving the name of the file specifying the spot types.
\item[\code{sep}] the field separator character
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The file is a text file with rows corresponding to types of spots and the following columns: \code{SpotType} gives the name for the spot type, \code{ID} is a regular expression matching the ID column, \code{Name} is a regular expression matching the Name column, and \code{Color} is the R name for the color to be associated with this type.
\end{Details}
\begin{Value}
A data frame with columns
\begin{ldescription}
\item[\code{SpotType}] character vector giving names of the spot types
\item[\code{ID}] character vector giving regular expressions
\item[\code{Name}] character vector giving regular expressions
\item[\code{Color}] character vector giving names of colors
\end{ldescription}
\end{Value}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
An overview of LIMMA functions for reading data is given in \link{3.ReadingData}.
\end{SeeAlso}

