RangedData-utils {IRanges}R Documentation

RangedData utility functions

Description

Utility functions for manipulating RangedData objects.

Usage

## S4 method for signature 'RangedData':
range(x, ..., na.rm = FALSE)

Arguments

x A RangedData object
... Additional RangedData objects
na.rm Ignored

Value

range returns a RangesList resulting from calling range(ranges(x)), i.e. the bounds of the ranges in each space.

Author(s)

Michael Lawrence

See Also

RangedData, DataTable-class, Sequence-class

Examples

  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)

[Package IRanges version 1.6.16 Index]