Show inversions and their flanking blocks.
Arguments
- gb
A
GBreaks
object processed withflagInversions
.- rename
Replace range names by their numeric order before subsetting.
Value
Returns the GBreaks
object in which all ranges that are not
part of an inversion triplet have been discarded. If the object was missing
the inv
metadata column, return the object after discarding all of its
ranges.
See also
Other Inversion functions:
filterDoubleInversions()
,
filterInversions()
,
flagDoubleInversions()
,
flagInversions()
,
flagPairs()
,
flipInversions()
,
leftInversionGaps()
Examples
showInversions(flagInversions(exampleInversion))
#> GBreaks object with 3 ranges and 2 metadata columns:
#> seqnames ranges strand | query inv
#> <Rle> <IRanges> <Rle> | <GRanges> <Rle>
#> 1 chrA 100-190 + | chrB:100-190 TRUE
#> 2 chrA 210-291 - | chrB:210-291 FALSE
#> 3 chrA 301-400 + | chrB:301-400 FALSE
#> -------
#> seqinfo: 1 sequence from an unspecified genome