Skip to contents

Represent GenomicBreaks objects as a permutation vector.

Usage

permutationVector(gb)

Arguments

gb

A GBreaks object.

Value

A vector of non-zero integers representing the position of the genomic content in the GBreaks object.

Details

In a GBreaks object properly sorted by its target ranges, the query ranges …

Note

A signed permutation needs the orientation of every range: the function stops with an error if a range is on the * strand. This also applies to the functions that use it, such as inversionDistance() and breakpointGraphProperties().