\HeaderA{importMAGEOM}{import MAGEOM of MAGEML documents}{importMAGEOM}
\keyword{methods}{importMAGEOM}
\begin{Description}\relax
This function imports the MAGE Object Model MAGEML documents and creates a reference to this object.
\end{Description}
\begin{Usage}
\begin{verbatim}
importMAGEOM(directory = ".")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{directory}] Directory which contains the MAGEML files that need to be imported
\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{getGnames}{getGnames}},\code{\LinkA{getArrayLayout}{getArrayLayout}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data<-system.file("MAGEMLdata", package="RMAGEML")
#will return a reference to the MAGE Object Model.#
importMAGEOM(directory=data)
\end{ExampleCode}
\end{Examples}

