View source: R/rbind_viterbi.R
| rbind.viterbi | R Documentation |
Join multiple imputed genotype objects, as produced by viterbi(),
for the same set of markers but for different individuals.
## S3 method for class 'viterbi'
rbind(...)
... |
Imputed genotype objects as produced by
|
An object of class "viterbi", like the input; see viterbi().
cbind.viterbi(), viterbi()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.