\HeaderA{getControlProbe}{Get the control probe Ids}{getControlProbe}
\keyword{methods}{getControlProbe}
\begin{Description}\relax
Get the control probe Ids corresponding to the control probe type provided. The control probe ids are kept in the second column of controlData data.frame.
\end{Description}
\begin{Usage}
\begin{verbatim}
getControlProbe(controlData, type = NULL)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{controlData}] a LumiBatch object including control data or a control data data.frame 
\item[\code{type}] the type of control probe (case insensitive), which can be get by using \code{\LinkA{getControlType}{getControlType}} function 
\end{ldescription}
\end{Arguments}
\begin{Value}
returns the corresponding probe Ids for the control type.
\end{Value}
\begin{Author}\relax
Pan Du
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{addControlData2lumi}{addControlData2lumi}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
        controlFile <- system.file('doc', 'Control_Probe_Profile.txt', package='lumi')
        ## return a data.frame
        controlData <- getControlData(controlFile)
        getControlType(controlData)
        getControlProbe(controlData, type='housekeeping')
\end{ExampleCode}
\end{Examples}

