View source: R/cbind_viterbi.R
| cbind.viterbi | R Documentation |
Join multiple viterbi objects, as produced by viterbi(), for the
same set of individuals but different chromosomes.
## S3 method for class 'viterbi'
cbind(...)
... |
Imputed genotype objects as produced by
|
An object of class "viterbi", like the input; see viterbi().
rbind.viterbi(), viterbi()
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
map <- insert_pseudomarkers(grav2$gmap, step=1)
gA <- viterbi(grav2[1:5,1:2], map, error_prob=0.002)
gB <- viterbi(grav2[1:5,3:4], map, error_prob=0.002)
g <- cbind(gA, gB)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.