simulateMissingData: Simulates missing genotype data

Description Usage Arguments Value Author(s) See Also Examples

Description

Simulate missing genotype data by removing some genotype data from the cross object

Usage

1
  simulatemissingdata(cross, percentage = 5)

Arguments

cross

An object of class cross. See read.cross for details.

percentage

How much of the genotype data do we need to randomly drop?

Value

An object of class cross with percentage

Author(s)

Danny Arends danny.arends@gmail.com

See Also

Examples

1
2
3
4
data(multitrait)
multitrait <- fill.geno(multitrait)
multimissing5 <- simulatemissingdata(multitrait,perc=5)
perc <- (sum(nmissing(multimissing5))/sum(ntyped(multimissing5)))

byandell/qtl documentation built on May 13, 2019, 9:28 a.m.