\HeaderA{groupnames-methods}{Generate unque names for peak groups}{groupnames.Rdash.methods}
\aliasA{groupnames}{groupnames-methods}{groupnames}
\aliasA{groupnames,xcmsEIC-method}{groupnames-methods}{groupnames,xcmsEIC.Rdash.method}
\aliasA{groupnames,xcmsSet-method}{groupnames-methods}{groupnames,xcmsSet.Rdash.method}
\keyword{methods}{groupnames-methods}
\keyword{file}{groupnames-methods}
\begin{Description}\relax
Allow linking of peak group data between classes using unique
group names that remain the same as long as no re-grouping occurs.
\end{Description}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] the \code{xcmsSet} or \code{xcmsEIC} object
\item[\code{mzdec}] number of decimal places to use for m/z
\item[\code{rtdec}] number of decimal places to use for retention time
\item[\code{template}] a character vector with existing group names whose format should
be emulated

\end{ldescription}
\end{Arguments}
\begin{Value}
A character vector with unique names for each peak group in the
object. The format is \code{M[m/z]T[time in seconds]}.
\end{Value}
\begin{Section}{Methods}
\describe{
\item[object = "xcmsSet"] \code{(object, mzdec = 0, rtdec = 0, template = NULL)}

\item[object = "xcmsEIC"] \code{(object)}

}
\end{Section}
\begin{SeeAlso}\relax
\code{\LinkA{xcmsSet-class}{xcmsSet.Rdash.class}},
\code{\LinkA{xcmsEIC-class}{xcmsEIC.Rdash.class}}
\end{SeeAlso}

