\Header{getBioAssayData}{Get bioAssayData object}
\begin{Description}\relax
This function parses the BioAssayData package and returns an bioAssayData object which contains a slot with  assayed feature references and a slot with the used array design.
\end{Description}
\begin{Usage}
\begin{verbatim}getBioAssayData(file = "", datadir = "")\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{file}] XML document containing the DesignElement package.
\item[\code{datadir}] Directory where the XML file resides.
\end{ldescription}
\end{Arguments}
\begin{Value}
BioAssayData object containing the assayed feature references and array design used in BioAssay.\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
bioAssayData
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data <- system.file("data", package="MAGEML")
getBioAssayData(file="Iron.xml",datadir=data)
\end{ExampleCode}
\end{Examples}

