dviSim {dvir} | R Documentation |
Simulate genotypes in a DVI dataset
Description
Simulates genotypes for the references and missing persons in each AM family, transfers to the PM singletons according to the indicated matching. Remaining victims are simulated as unrelated.
Usage
dviSim(
dvi,
refs = typedMembers(dvi$am),
truth = NULL,
seed = NULL,
verbose = FALSE
)
Arguments
dvi |
A |
refs |
A character with names of all reference individuals. By default, the typed members of the input. |
truth |
A named vector of the format |
seed |
An integer seed for the random number generator. |
verbose |
A logical. |
Value
A dviData
object similar to the input.
See Also
Examples
ex = dviSim(example2, truth = c(V1 = "M1", V2 = "M2"))
plotDVI(ex, marker = 1)
[Package dvir version 3.2.1 Index]