setHBDProbAndFLOD: Computation of HBD probabilities and FLOD scores by segments

View source: R/setHBDProbAndFLOD.r

setHBDProbAndFLODR Documentation

Computation of HBD probabilities and FLOD scores by segments

Description

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

Usage

setHBDProbAndFLOD(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_segments

Value

the atlas object with HBD_recap and FLOD_recap by segments

See Also

setHBDProbAndFLODBySnps

setHFLOD


genostats/Fantasio documentation built on Feb. 2, 2023, 5:28 p.m.