svSize: Determines the structural variant size

Description Usage Arguments Details Examples

View source: R/somatic_features.R

Description

Determines the structural variant size

Usage

1
svSize(x)

Arguments

x

A GRanges object containing breakpoint 1 with a GRanges for breakpoint 2 in a metadata column caled linked.to

Details

For intrachromosomal evenets, it is expected that the position of breakpoint 1 is less than the position of breakpoint 2. Size is computed as 1/breakpoint distance (in megabases) for intrachromosomal events and is set to 0 for interchromosomal events.

Examples

1
2
3
Example 1: Determining the structural variant size for each rearrangement in test_sv
data(test_sv)
svSize(test_sv)

cancer-genomics/plasmasv documentation built on May 15, 2020, 11:35 a.m.