\Header{getDesignElement}{Get designElement object}
\begin{Description}\relax
This function parses the DesignElement package and returns a designElement object
\end{Description}
\begin{Usage}
\begin{verbatim}getDesignElement(file = "", datadir = ".")\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{file}] XML document containing the DesignElement package.
\item[\code{datadir}] The directory where XML file resides.
\end{ldescription}
\end{Arguments}
\begin{Value}
returns a designElement object.\end{Value}
\begin{Author}\relax
Joke Allemeersch, \url{http://www.esat.kuleuven.ac.be/~jallemee}\\ Steffen Durinck, \url{http://www.esat.kuleuven.ac.be/~sdurinck}.
\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
designElement
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data <- system.file("data", package="MAGEML")
getDesignElement(file="Iron.xml",datadir=data)
\end{ExampleCode}
\end{Examples}

