This is a range method for GBreaks objects, that will run
GenomicRanges::range on its target and query ranges and will return
a new GBreaks object.
Usage
range_GBreaks(
x,
...,
with.revmap = FALSE,
ignore.strand = FALSE,
na.rm = FALSE
)
# S4 method for class 'GBreaks'
range(x, ..., with.revmap = FALSE, ignore.strand = FALSE, na.rm = FALSE)See also
Other Bioconductor API functions:
GBreaks-class,
getSeq(),
pairwiseAlignment(),
reverse(),
subsetByOverlaps_GBreaks()
Examples
range(exampleColinear3)
#> GBreaks object with 1 range and 1 metadata column:
#> seqnames ranges strand | query
#> <Rle> <IRanges> <Rle> | <GRanges>
#> [1] chrA 100-400 * | chrB:100-400
#> -------
#> seqinfo: 1 sequence from an unspecified genome
range(exampleDeletion)
#> GBreaks object with 2 ranges and 1 metadata column:
#> seqnames ranges strand | query
#> <Rle> <IRanges> <Rle> | <GRanges>
#> [1] chrA 100-400 * | chrB:100-300
#> [2] chrA 201-300 * | chrC:401-500
#> -------
#> seqinfo: 1 sequence from an unspecified genome