hap_block: Selection of non-overlapping haplotype block from filtered...

View source: R/hap_block.R

hap_blockR Documentation

Selection of non-overlapping haplotype block from filtered haplotype block set

Description

The algorithm selects non-overlapping haplotype block from the filtered haplotype block candidate output from the MIG algorithm, by favouring larger haplotype blocks first.

Usage

hap_block(filt_hap)

Arguments

filt_hap

Numeric matrix, the filtered haplotype block set, output from MIG()

Value

Numeric matrix, set of non-overlapping haplotype block location, with the first column being the starting SNP position of the candidate, and second column ending SNP position of the candidate. Each row will corresponds to a single candidate.

See Also

haplotest()


xthchen/haplotest documentation built on Nov. 29, 2022, 12:07 p.m.