dot-fillGap: Fill gaps in a paternal strand vector (native routine...

.fillGapR Documentation

Fill gaps in a paternal strand vector (native routine wrapper)

Description

Internal wrapper around the native C routine fillGap. It fills zero-valued gaps in a paternal-strand vector by propagating values from neighbouring non-zero positions (see native implementation for exact rules).

Usage

.fillGap(paternalStrandBMH)

Arguments

paternalStrandBMH

An integer (or numeric) vector representing the paternal strand state (e.g., output from block-building routines). The vector is coerced to integer before calling native code.

Details

This function calls compiled code via .C: .C("fillGap", ...).

Value

An integer vector of the same length as paternalStrandBMH containing the gap-filled strand values.

Author(s)

mhf

See Also

.C


hsphase documentation built on Feb. 17, 2026, 5:07 p.m.