\HeaderA{getSpec-methods}{Get average m/z and intensity values for multiple mass scans}{getSpec.Rdash.methods}
\aliasA{getSpec}{getSpec-methods}{getSpec}
\aliasA{getSpec,xcmsRaw-method}{getSpec-methods}{getSpec,xcmsRaw.Rdash.method}
\keyword{methods}{getSpec-methods}
\keyword{manip}{getSpec-methods}
\begin{Description}\relax
Return full-resolution averaged data from multiple mass scans.
\end{Description}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] the \code{xcmsRaw} object
\item[\code{...}] arguments passed to \code{\LinkA{profRange}{profRange}} used to sepecify the
spectral segments of interest for averaging

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Based on the mass points from the spectra selected, a master
unique list of masses is generated. Every spectra is interpolated
at those masses and then averaged.
\end{Details}
\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{getSpec(object, ...)}

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

