\HeaderA{otherStrand}{Return the name of the opposite strand}{otherStrand}
\keyword{manip}{otherStrand}
\begin{Description}\relax
Return the name of the opposite strand
\end{Description}
\begin{Usage}
\begin{verbatim}
otherStrand(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] Character vector whose elements are "+" or "-".
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This is a rather trivial convenience function.

An alternative would be to code strands with integers \code{-1} and
\code{+1}, in which case the inversion would be a trivial builtin
operation. However, many genomic databases and input data files use
the character string / factor notation.
\end{Details}
\begin{Value}
Character vector of same length as \code{x}, with strands reversed.
\end{Value}
\begin{Author}\relax
W. Huber <huber@ebi.ac.uk>
\end{Author}
\begin{Examples}
\begin{ExampleCode}
  otherStrand(c("+", "-"))
\end{ExampleCode}
\end{Examples}

