cbind.calc_genoprob: Join genotype probabilities for different chromosomes

Description Usage Arguments Value See Also Examples

View source: R/cbind_calc_genoprob.R

Description

Join multiple genotype probability objects, as produced by calc_genoprob(), for the same set of individuals but different chromosomes.

Usage

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

Arguments

...

Genotype probability objects as produced by calc_genoprob(). Must have the same set of individuals.

Value

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

See Also

rbind.calc_genoprob()

Examples

1
2
3
4
5
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
map <- insert_pseudomarkers(grav2$gmap, step=1)
probsA <- calc_genoprob(grav2[1:5,1:2], map, error_prob=0.002)
probsB <- calc_genoprob(grav2[1:5,3:4], map, error_prob=0.002)
probs <- cbind(probsA, probsB)

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