Learn R Programming

MutableRanges (version 0.6.2)

setViewsGRangesClass: Subclass a ViewsGRanges

Description

This is a convenience function for defining new subclasses of ViewsGRanges.

Usage

setViewsGRangesClass(prefix, processViews, parameters = list(),
                     where = topenv(parent.frame()), ...)

Arguments

prefix
String prepended to GRanges and prefixed by View.
processViews
The function that implements the aggregation. It should accept the Views object, as well as any parameters (other than weight).
parameters
List of parameter types.
where
The environment in which to define the subclass.
...
Other arguments to pass to setProxyGRangesClass.

Value

  • The generator object for the subclass.

See Also

setProxyGRangesClass, which this function wraps; Window-ops for examples of implementations.