rbind.viterbi: Join Viterbi results for different individuals

Description Usage Arguments Value See Also Examples

View source: R/rbind_viterbi.R

Description

Join multiple imputed genotype objects, as produced by viterbi(), for the same set of markers but for different individuals.

Usage

1
2
## S3 method for class 'viterbi'
rbind(...)

Arguments

...

Imputed genotype objects as produced by viterbi(). Must have the same set of markers.

Value

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

See Also

cbind.viterbi(), viterbi()

Examples

1
2
3
4
5
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
map <- insert_pseudomarkers(grav2$gmap, step=1)
gA <- viterbi(grav2[1:5,], map, error_prob=0.002)
gB <- viterbi(grav2[6:12,], map, error_prob=0.002)
g <- rbind(gA, gB)

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