\HeaderA{complexName}{Accessor functions for complex}{complexName}
\aliasA{complexAttributes}{complexName}{complexAttributes}
\aliasA{complexMembers}{complexName}{complexMembers}
\keyword{models}{complexName}
\begin{Description}\relax
These functions are used to extract useful information of complex in
the form of \code{\LinkA{psimi25Complex-class}{psimi25Complex.Rdash.class}} object.
\end{Description}
\begin{Usage}
\begin{verbatim}
complexName(x)
complexMembers(x)
complexAttributes(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] An object of \code{\LinkA{psimi25Complex-class}{psimi25Complex.Rdash.class}} 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
See examples
\end{Details}
\begin{Value}
\begin{ldescription}
\item[\code{complexName}] Returns the name of the complex in characters
\item[\code{complexMembers}] A data frame of protein members building the
complex and their information
\item[\code{complexAttributes}] A named vector of character strings, the
names are the attribute names while the values are attributes
documented in the PSI-MI 2.5 file
\end{ldescription}
\end{Value}
\begin{Author}\relax
Jitao David Zhang <j.zhang@dkfz.de>, Tony Chiang <tchiang@ebi.ac.uk>
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{psimi25Complex-class}{psimi25Complex.Rdash.class}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
xmlDir <- system.file("/extdata/psi25files",package="RpsiXML")

intactComplexxml <- file.path(xmlDir,"intact_complexSample.xml")
intactComplexSet <- parsePsimi25Complex(intactComplexxml, INTACT.PSIMI25)
complexSample <- complexes(intactComplexSet)[[2]]

complexName(complexSample)
complexAttributes(complexSample)
complexMembers(complexSample)
\end{ExampleCode}
\end{Examples}

