cbind.sim_geno: Join genotype imputations for different chromosomes

Description Usage Arguments Value See Also Examples

View source: R/cbind_sim_geno.R

Description

Join multiple genotype imputation objects, as produced by sim_geno(), for the same individuals but different chromosomes.

Usage

1
2
## S3 method for class 'sim_geno'
cbind(...)

Arguments

...

Genotype imputation objects as produced by sim_geno(). Must have the same set of individuals.

Value

An object of class "sim_geno", like the input; see sim_geno().

See Also

rbind.sim_geno(), sim_geno()

Examples

1
2
3
4
5
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
map <- insert_pseudomarkers(grav2$gmap, step=1)
drawsA <- sim_geno(grav2[1:5,1:2], map, error_prob=0.002, n_draws=4)
drawsB <- sim_geno(grav2[1:5,3:4], map, error_prob=0.002, n_draws=4)
draws <- cbind(drawsA, drawsB)

qtl2 documentation built on Oct. 18, 2021, 1:06 a.m.