\HeaderA{createMaigesRaw}{Function to create objects of class maigesRaw}{createMaigesRaw}
\keyword{methods}{createMaigesRaw}
\begin{Description}\relax
Function to create objects of class \code{\LinkA{maigesRaw}{maigesRaw}} from
objects of class \code{\LinkA{maigesPreRaw}{maigesPreRaw}}.
\end{Description}
\begin{Usage}
\begin{verbatim}
createMaigesRaw(PreRaw, greenDataField, greenBackDataField, redDataField,
                redBackDataField, flagDataField, gLabelGrp, gLabelPath)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{PreRaw}] object of class \code{\LinkA{maigesPreRaw}{maigesPreRaw}} to be used to
generate another object of class \code{\LinkA{maigesRaw}{maigesRaw}}.
\item[\code{greenDataField}] character string specifying the name of the
\code{Data} slot from \code{PreRaw} that will be used to read the
spot intensity values for green channel.
\item[\code{greenBackDataField}] character string specifying the name of the
\code{Data} slot from \code{PreRaw} that will be used to read the
background intensity values for green channel.
\item[\code{redDataField}] character string specifying the name of the
\code{Data} slot from \code{PreRaw} that will be used to read the
spot intensity values for red channel.
\item[\code{redBackDataField}] character string specifying the name of the
\code{Data} slot from \code{PreRaw} that will be used to read the
background intensity values for red channel.
\item[\code{flagDataField}] character string specifying the name of the
\code{Data} slot from \code{PreRaw} that will be used to read the
flag values.
\item[\code{gLabelGrp}] character string with the gene label to match gene groups.
\item[\code{gLabelPath}] character string with the gene label to match gene networks.
\end{ldescription}
\end{Arguments}
\begin{Value}
The result of this function is an object of class \code{\LinkA{maigesRaw}{maigesRaw}}.
\end{Value}
\begin{Author}\relax
Gustavo H. Esteves <\email{gesteves@vision.ime.usp.br}>
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{loadData}{loadData}}, \code{\LinkA{maigesPreRaw}{maigesPreRaw}},
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## Load a little dataset
data(gastro)

## See the object
gastro

## Transform gastro into a maigesRaw object
gastro.raw = createMaigesRaw(gastro, greenDataField="Ch1.Mean",
  greenBackDataField="Ch1.B.Mean", redDataField="Ch2.Mean",
  redBackDataField="Ch2.B.Mean", flagDataField="Flags",
  gLabelGrp="GeneName", gLabelPath="GeneName")
\end{ExampleCode}
\end{Examples}

