stitchSVs: Stitch fragmented SVs

View source: R/stitchSVs.R

stitchSVsR Documentation

Stitch fragmented SVs

Description

Stitch together SVs that are close together. This should be done for SVs of the same type and genotype. When several SV pairs can be stitched in a cluster, only the best pair (closest to each other) is merged, hence this could be run several times (e.g. until the size of the output is similar to the input's).

Usage

stitchSVs(svs, stitch.dist = 20)

Arguments

svs

GRanges with SV information

stitch.dist

the maximum distance allowed for two SVs to be stitched.

Value

an upated GRanges.

Author(s)

Jean Monlong


jmonlong/sveval documentation built on July 31, 2023, 7:50 p.m.