mirrorRanges: Mirror/reflect genomic ranges given the sequence length.

View source: R/helpers.R

mirrorRangesR Documentation

Mirror/reflect genomic ranges given the sequence length.

Description

This function flips set of ranges in a mirrored fashion.

Usage

mirrorRanges(gr, seqlength = NULL)

Arguments

gr

A GRanges-class object with one or more ranges to be mirrored/reflected given the sequence length.

seqlength

A numeric value containing the sequence length from where the submitted ranges originate from.

Value

A GRanges-class object with mirrored coordinates.

Author(s)

David Porubsky


daewoooo/SVbyEye documentation built on March 31, 2024, 8:58 a.m.