rbind.sim_geno {qtl2} | R Documentation |
Join genotype imputations for different individuals
Description
Join multiple genotype imputation objects, as produced by
sim_geno()
, for the same set of markers but for different
individuals.
Usage
## S3 method for class 'sim_geno'
rbind(...)
Arguments
... |
Genotype imputation objects as produced by
|
Value
An object of class "sim_geno"
, like the input; see sim_geno()
.
See Also
Examples
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
map <- insert_pseudomarkers(grav2$gmap, step=1)
drawsA <- sim_geno(grav2[1:5,], map, error_prob=0.002, n_draws=4)
drawsB <- sim_geno(grav2[6:12,], map, error_prob=0.002, n_draws=4)
draws <- rbind(drawsA, drawsB)
[Package qtl2 version 0.36 Index]