\HeaderA{getSharedDomains}{Find domains shared by a given list of gene names.}{getSharedDomains}
\keyword{methods}{getSharedDomains}
\begin{Description}\relax
\code{getSharedDomains} finds domains in the provided environment that
are shared by a list of genes.
\end{Description}
\begin{Usage}
\begin{verbatim}getSharedDomains(geneNameV, env)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{geneNameV}] Character vector of gene names.  
\item[\code{env}] R object that provides mappings between an
entrez gene identifier and the associated Pfam identifiers.
\end{ldescription}
\end{Arguments}
\begin{Value}
\code{getSharedDomains} returns a vector of the names of the shared domains.
\end{Value}
\begin{Author}\relax
Z. Jiang
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{domainDist}{domainDist}}, \code{\LinkA{sharedBy}{sharedBy}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
library("org.Sc.sgd.db")
getSharedDomains(c("YEL003W","YLR200W"),  org.Sc.sgdPFAM)
\end{ExampleCode}
\end{Examples}

