fillGaps: Fill gaps between consecutive segments

Description Usage Arguments Value Author(s)

Description

This function enlarges segments on their upper boundary to fill gaps between consecutive segments.

It may be crucial for penetrance computation, as they lead to small low steps in penetrance.

Usage

1
  fillGaps(segTable, isOrdered = FALSE)

Arguments

segTable

A data.frame of segments, with at least "chrom" (character), "start" (integer) and "end" (integer) columns.

isOrdered

Single logical value, whether segTable is already ordered by chromosome and starting position or not.

Value

Returns a data.frame similar to segTable.

Author(s)

Sylvain Mareschal


cghRA documentation built on May 2, 2019, 3:34 a.m.