\HeaderA{getScan-methods}{Get m/z and intensity values for a single mass scan}{getScan.Rdash.methods}
\aliasA{getScan}{getScan-methods}{getScan}
\aliasA{getScan,xcmsRaw-method}{getScan-methods}{getScan,xcmsRaw.Rdash.method}
\keyword{methods}{getScan-methods}
\keyword{manip}{getScan-methods}
\begin{Description}\relax
Return the data from a single mass scan using the numeric index
of the scan as a reference.
\end{Description}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] the \code{xcmsRaw} object
\item[\code{scan}] integer index of scan. if negative, the index numbered from the
end

\item[\code{massrange}] limit data points returned to those between in the range, 
\code{range(massrange)}

\end{ldescription}
\end{Arguments}
\begin{Value}
A matrix with two columns:
\begin{ldescription}
\item[\code{mz}] m/z values
\item[\code{intensity}] intensity values
\end{ldescription}
\end{Value}
\begin{Section}{Methods}
\describe{
\item[object = "xcmsRaw"] \code{getScan(object, scan, massrange = numeric())}

}
\end{Section}
\begin{SeeAlso}\relax
\code{\LinkA{xcmsRaw-class}{xcmsRaw.Rdash.class}},
\code{\LinkA{getSpec}{getSpec}}
\end{SeeAlso}

