\HeaderA{RangedData-utils}{RangedData utility functions}{RangedData.Rdash.utils}
\aliasA{range,RangedData-method}{RangedData-utils}{range,RangedData.Rdash.method}
\keyword{utilities}{RangedData-utils}
\begin{Description}\relax
Utility functions for manipulating \code{\LinkA{RangedData}{RangedData.Rdash.class}} objects.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S4 method for signature 'RangedData':
range(x, ..., na.rm = FALSE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A \code{RangedData} object
\item[\code{...}] Additional \code{RangedData} objects
\item[\code{na.rm}] Ignored
\end{ldescription}
\end{Arguments}
\begin{Value}
\code{range} returns a \code{RangesList} resulting from calling
\code{\LinkA{range}{range,RangesList.Rdash.method}(ranges(x))}, i.e. the
bounds of the ranges in each space.
\end{Value}
\begin{Author}\relax
Michael Lawrence
\end{Author}
\begin{SeeAlso}\relax
\LinkA{RangedData}{RangedData}, \LinkA{DataTable-class}{DataTable.Rdash.class}, \LinkA{Sequence-class}{Sequence.Rdash.class}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  ranges <- IRanges(c(1,2,3),c(4,5,6))
  score <- c(10L, 2L, NA)
  rd <- RangedData(ranges, score)

  range(rd)
  rd2 <- RangedData(IRanges(c(5,2,0), c(6,3,1)))
  range(rd, rd2)
\end{ExampleCode}
\end{Examples}

