\HeaderA{getSpacing}{Get Numerical Spacing}{getSpacing}
\keyword{IO}{getSpacing}
\begin{Description}\relax
Convert character to numerical spacing measure for within-array replicate spots.
\end{Description}
\begin{Usage}
\begin{verbatim}
getSpacing(spacing, layout)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{spacing}] character string or integer.
Acceptable character strings are \code{columns}, \code{rows} or \code{topbottom}.
Integer values are simply passed through.
\item[\code{layout}] list containing printer layout information
\end{ldescription}
\end{Arguments}
\begin{Value}
Integer giving spacing between replicate spots in the gene list.
\end{Value}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
An overview of LIMMA functions for reading data is given in \LinkA{03.ReadingData}{03.ReadingData}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
getSpacing("columns",list(ngrid.r=2,ngrid.c=2,nspot.r=20,nspot.c=19))
getSpacing("rows",list(ngrid.r=2,ngrid.c=2,nspot.r=20,nspot.c=19))
getSpacing("topbottom",list(ngrid.r=2,ngrid.c=2,nspot.r=20,nspot.c=19))
\end{ExampleCode}
\end{Examples}


