\HeaderA{writeMAGEML}{write MAGEML documents}{writeMAGEML}
\keyword{methods}{writeMAGEML}
\begin{Description}\relax
This function writes MAGEML documents from MAGE Object references.
\end{Description}
\begin{Usage}
\begin{verbatim}
writeMAGEML( mageOM = NULL, directory = ".", file = NULL)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{mageOM}] Reference to MAGE Object Model
\item[\code{directory}] Directory to which the MAGEML file should be written to
\item[\code{file}] Filename.  Note should have extension xml e.g. update.xml
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Steffen Durinck, \url{http://www.esat.kuleuven.ac.be/~sdurinck}\\ 
Joke Allemeersch, \url{http://www.esat.kuleuven.ac.be/~jallemee}.
\end{Author}
\begin{References}\relax
Spellman PT, Miller M, Stewart J, Troup C, Sarkans U, Chervitz S, Bernhart D, Sherlock G, Ball C, Lepage M, Swiatek M, Marks WL, Goncalves J, Markel S, Iordan D, Shojatalab M, Pizarro A, White J, Hubley R, Deutsch E, Senger M, Aronow BJ, Robinson A, Bassett D, Stoeckert CJ Jr and Brazma A.
Design and implementation of microarray gene expression markup language (MAGE-ML).
Genome Biol. 2002 Aug 23;3(9):RESEARCH0046.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{importMAGEOM}{importMAGEOM}},\code{\LinkA{writeMAGEML}{writeMAGEML}},\code{\LinkA{addDerivedData}{addDerivedData}},\code{\LinkA{addNormToMAGEML}{addNormToMAGEML}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
#data<-system.file("MAGEMLdata", package="RMAGEML")
#mageom<-importMAGEOM(directory = data)
#writeMAGEML(mageOM = mageom, directory = ".", file = "updatedMAGEML.xml")
\end{ExampleCode}
\end{Examples}

