\HeaderA{printHead}{Print Leading Rows of Large Objects}{printHead}
\keyword{hplot}{printHead}
\begin{Description}\relax
Print the leading rows of a large vector, matrix or data.frame.
This function is used by \code{show} methods for data classes defined in LIMMA.
\end{Description}
\begin{Usage}
\begin{verbatim}
printHead(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] any object
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
If \code{x} is a vector with more than 20 elements, then \code{printHead(x)} prints only the first 5 elements.
If \code{x} is a matrix or data.frame with more than 10 rows, then \code{printHead(x)} prints only the first 5 rows.
Any other type of object is printed normally.
\end{Details}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
An overview of classes defined in LIMMA is given in \LinkA{02.Classes}{02.Classes}
\end{SeeAlso}


