\HeaderA{makeRG}{Creation of a RGList object}{makeRG}
\keyword{methods}{makeRG}
\begin{Description}\relax
This function creates a RGList object.
\end{Description}
\begin{Usage}
\begin{verbatim}
makeRG(mageOM, genes, directory = ".", QTD = "none", DED = "none",  name.Rf = "none", name.Rb = "none", name.Gf = "none" ,name.Gb = "none")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{mageOM}] Reference to MAGE Object Model
\item[\code{directory}] Directory which contains the MAGEML files that need to be imported
\item[\code{genes}] the Gnames marrayInfo object e.g. created by getGnames
\item[\code{QTD}] the Quantitation Type Dimension
\item[\code{DED}] the Design Element Dimension
\item[\code{name.Rf}] the name of the red foreground intensity
\item[\code{name.Rb}] the name of the red background intensity
\item[\code{name.Gf}] the name of the green foreground intensity
\item[\code{name.Gb}] the name of the green background intensity
\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{getArrayLayoutLimma}{getArrayLayoutLimma}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data<-system.file("MAGEMLdata", package="RMAGEML")
#To obtain a marrayInfo object containing the database identifiers of the features present on the array.#
mageom<-importMAGEOM(directory=data)
genes<-getArrayLayoutLimma(mageom, DED = "DED:707")
makeRG(mageOM=mageom, genes = genes, directory=data, DED = "DED:707", QTD = "QTD:707", name.Rf = "QT:F635 Mean", name.Rb = "QT:B635 Median", name.Gf = "QT:F532 Mean" ,name.Gb = "QT:B532 Median")
\end{ExampleCode}
\end{Examples}

