\HeaderA{groupFWHM-methods}{FWHM-Grouping of LC/ESI-MS data}{groupFWHM.Rdash.methods}
\aliasA{groupFWHM}{groupFWHM-methods}{groupFWHM}
\aliasA{groupFWHM,xsAnnotate-method}{groupFWHM-methods}{groupFWHM,xsAnnotate.Rdash.method}
\keyword{methods}{groupFWHM-methods}
\begin{Description}\relax
Grouping the peaks after the FWHM of the retentiontimes into pseudospectragroups for a xsAnnotate object. Returns a xsAnnotate object with group information.
\end{Description}
\begin{Usage}
\begin{verbatim}
 groupFWHM(object,sigma = 6 , perfwhm = 0.6)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] the \code{xsAnnotate} object
\item[\code{sigma}] the multiplier of the standard deviation
\item[\code{perfwhm}] percentage of the width of the FWHM
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The FWHM (full width at half maximum) of a peak, will be used for the grouping. Every peak who eluated at the same time as a selected peak, will be part of the group. Same time is defined about the Rt-med +/-FWHM*perfwhm. FWHM is calculated as the product of sigma * standard deviation.
\end{Details}
\begin{Author}\relax
Carsten Kuhl \textless{}ckuhl@ipb-halle.de\textgreater{}
\end{Author}
\begin{Examples}
\begin{ExampleCode}
 library(CAMERA)
 file <- system.file('mzdata/MM14.mzdata', package = "CAMERA")
 xs   <- xcmsSet(file, method="centWave", ppm=30, peakwidth=c(5,10))
 an   <- xsAnnotate(xs)
 an   <- groupFWHM(an)
\end{ExampleCode}
\end{Examples}

