simulateBlockSeg: simulateBlockSeg

Description Usage Arguments Value Author(s) Examples

View source: R/simGenotypeInternal.R

Description

Select for each SNV which haplotype (left or right, father or mother) are lap

Usage

1
simulateBlockSeg(snv, nbSim)

Arguments

snv

a data.frame

nbSim

integer number of simulation

Value

a matrix of 0,1 coding a selection of the left or right (father or mother haplotype) if seg is NA always 0 LAF == 1 left is lap LAF == 0 left is 1-lap because of the function genoMatrix(...)

Author(s)

Pascal Belleau, Astrid Deschenes and Alexander Krasnitz

Examples

1
# TODO

belleau/simAnc documentation built on June 11, 2021, 9:09 p.m.