Last chance! 50% off unlimited learning
Sale ends in
Pull out the results of sim.geno
from a cross as an array.
pull.draws(cross, chr)
An object of class cross
. See
read.cross
for details.
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.
An array containing numeric indicators of the imputed genotypes. Multiple chromosomes are pasted together. The dimensions are individuals by positions by imputations
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]
Run the code above in your browser using DataLab