Internal wrapper around the native C routine hblock. It transforms a
BMH result matrix into a block representation, with an optional maximum block
size constraint.
.hblock(bmhResult, MaxBlock = 400)A matrix (same general shape as bmhResult) containing inferred
block structure. Row and column names are propagated from bmhResult
where available.
A numeric/integer matrix containing BMH results (block matching/haplotype-block intermediate output). Must be a matrix.
Integer scalar. Maximum block size (default: 400).
This function transposes and flattens bmhResult before passing it to
compiled code via .C:
.C("hblock", ...).