Represent GenomicBreaks objects as a permutation vector.
Arguments
- gb
A
GBreaksobject.
Value
A vector of non-zero integers representing the position of the
genomic content in the GBreaks object.
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().