\HeaderA{writeCodelink}{Write a Codelink object to file.}{writeCodelink}
\aliasA{writeCodelink,CodelinkSet-method}{writeCodelink}{writeCodelink,CodelinkSet.Rdash.method}
\keyword{documentation}{writeCodelink}
\keyword{utilities}{writeCodelink}
\begin{Description}\relax
Export of the data from a codelink object to a text file.
\end{Description}
\begin{Usage}
\begin{verbatim}
  writeCodelink(object, file, dec = ".", sep = "\t", flag = FALSE, chip)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] an object of class "Codelink".
\item[\code{file}] filename to write object to.
\item[\code{dec}] decimal character to use.
\item[\code{sep}] delimiter character to use.
\item[\code{flag}] should the Codelink flags be written.
\item[\code{chip}] chip package to use, normally guessed.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
By default, intensities and SNR are wrote to the file. If set, the flag are 
also output. The header have  "INTENSITY\_", "SNR\_" and "FLAG\_" respectibely 
appendend to the sample name for those values. The default delimiter is the tab 
character, but that can be set with the sep argument. The default decimal 
character is the point.
\end{Details}
\begin{Author}\relax
Diego Diez
\end{Author}
\begin{Examples}
\begin{ExampleCode}
## Not run: 
    data(codelink.example)
    writeCodelink(codelink.example, file = "foo.txt")
## End(Not run)
\end{ExampleCode}
\end{Examples}

