View source: R/rbind_calc_genoprob.R
rbind.calc_genoprob | R Documentation |
Join multiple genotype probability objects, as produced by
calc_genoprob()
, for the same set of markers and genotypes but for
different individuals.
## S3 method for class 'calc_genoprob'
rbind(...)
... |
Genotype probability objects as produced by
|
An object of class "calc_genoprob"
, like the input; see calc_genoprob()
.
cbind.calc_genoprob()
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
map <- insert_pseudomarkers(grav2$gmap, step=1)
probsA <- calc_genoprob(grav2[1:5,], map, error_prob=0.002)
probsB <- calc_genoprob(grav2[6:12,], map, error_prob=0.002)
probs <- rbind(probsA, probsB)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.