setHBDProb: Computation of HBD probabilities

View source: R/setHBDProb.r

setHBDProbR Documentation

Computation of HBD probabilities

Description

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

Usage

setHBDProb(atlas, w.id)

Arguments

atlas

A 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 slot HBD.prob will be filled with a matrix of dimension : number_individual x number_of_markers

Value

the atlas object with each HBD.prob slot of each submaps in the slot submaps_list computed

See Also

setFLOD

setHFLOD


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