\HeaderA{bait}{Extract bait, prey, participant, inhibitor, pubmed, confidence value, interaction type, 
or neutral component information from an object of psimi25Interaction-class}{bait}
\aliasA{confidenceValue}{bait}{confidenceValue}
\aliasA{inhibitor}{bait}{inhibitor}
\aliasA{neutralComponent}{bait}{neutralComponent}
\aliasA{participant}{bait}{participant}
\aliasA{prey}{bait}{prey}
\aliasA{pubmedID}{bait}{pubmedID}
\keyword{models}{bait}
\begin{Description}\relax
The functions return bait/prey UniProt identifier of the given
\code{psimi25Interaction} object.
\end{Description}
\begin{Usage}
\begin{verbatim}
bait(x)
prey(x)
participant(x)
inhibitor(x)
pubmedID(x)
confidenceValue(x)
neutralComponent(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] An object of \code{\LinkA{psimi25Interaction-class}{psimi25Interaction.Rdash.class}}, see example 
\end{ldescription}
\end{Arguments}
\begin{Value}
The source database identifier is returned.
\end{Value}
\begin{Author}\relax
Jitao David Zhang <j.zhang@dkfz.de>, Tony Chiang <tchiang@ebi.ac.uk>
\end{Author}
\begin{References}\relax
The UniProt database \url{http://www.expasy.uniprot.org/}
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{psimi25Interaction-class}{psimi25Interaction.Rdash.class}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
xmlDir <- system.file("/extdata/psi25files",package="RpsiXML")

gridxml <- file.path(xmlDir, "biogrid_200804_test.xml")
gridSet <- parsePsimi25Interaction(gridxml, BIOGRID.PSIMI25)

interExp <- interactions(gridSet)[[1]]
bait(interExp)
prey(interExp)
\end{ExampleCode}
\end{Examples}

