setHBDProbAndFLODBySnps: Computation of HBD probabilities and FLOD scores by snps

View source: R/setHBDProbAndFLODBySnps.r

setHBDProbAndFLODBySnpsR Documentation

Computation of HBD probabilities and FLOD scores by snps

Description

This function is used to compute HBD probabilities and FLOD scores on individuals in a sample

Usage

setHBDProbAndFLODBySnps(atlas, w.id, q = 1e-04)

Arguments

atlas

an atlas object

w.id

The indices of individals for which HBD probabilities are computed

Details

This function iterates over the slots submaps_list of the atlas object.

For each submaps in the slots submaps_list of the object, the slots HBD_recap and FLOD_recap will be updated with a matrix of dimension : number_individual x number_of_markers

Value

the atlas object with HBD_recap and FLOD_recap by snps

See Also

setHFLOD


genostats/FEstim documentation built on Feb. 3, 2023, 7:33 p.m.