pull.draws: Pull out the genotype imputations from a cross

Description Usage Arguments Value Author(s) See Also Examples

Description

Pull out the results of sim.geno from a cross as an array.

Usage

1
pull.draws(cross, chr)

Arguments

cross

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

chr

Optional vector indicating the chromosomes to consider. This should be a vector of character strings referring to chromosomes by name; numeric values are converted to strings. Refer to chromosomes with a preceding - to have all chromosomes but those considered. A logical (TRUE/FALSE) vector may also be used.

Value

An array containing numeric indicators of the imputed genotypes. Multiple chromosomes are pasted together. The dimensions are individuals by positions by imputations

Author(s)

Karl W Broman, kbroman@biostat.wisc.edu

See Also

pull.geno, pull.genoprob, pull.argmaxgeno, sim.geno

Examples

1
2
3
4
data(listeria)
listeria <- sim.geno(listeria, step=5, stepwidth="max", n.draws=8)
dr <- pull.draws(listeria, chr=c(5,13))
dr[1:20,1:10,1]

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