\HeaderA{rmByEvi}{A function that parses through each GO protein complex and
removes proteins based on evidence codes.}{rmByEvi}
\keyword{datagen}{rmByEvi}
\begin{Description}\relax
The set of proteins protKept argument is a filtered set of proteins
based on evidence codes given by the users. If complex contains
any protein not in protKept, that protein will be deleted.
\end{Description}
\begin{Usage}
\begin{verbatim}
rmByEvi(protKept, complex)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{protKept}] A character vector of filtered proteins. Only the
proteins listed in this vector should be kept in the protein complexes
\item[\code{complex}] A list of the GO protein complexes
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
When \code{\LinkA{getGOInfo}{getGOInfo}} is called, the user can specify a set of
evidence codes in the argument (see getGOInfo.Rd). The function
\code{\LinkA{getGOInfo}{getGOInfo}} then generates a set of proteins,
protKept (which are indexed by evidence codes other than the
user specified set of evidence codes), that are valid proteins.

This function takes this set of proteins and compares it with each GO
protein complex. If any protein is found within a GO protein complex
and does not belong to protKept, it is deleted from that
protein complex.
\end{Details}
\begin{Value}
The return value is the "complex" list with a protein removed from the
protein complex if that protein is not found in protKept.
\end{Value}
\begin{Author}\relax
Tony Chiang
\end{Author}

