Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rbind.calc_genoprob

Join genotype probabilities for different individuals


Description

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

Usage

## S3 method for class 'calc_genoprob'
rbind(...)

Arguments

...

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

Value

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

See Also

Examples

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)

qtl2

Quantitative Trait Locus Mapping in Experimental Crosses

v0.24
GPL-3
Authors
Karl W Broman [aut, cre] (<https://orcid.org/0000-0002-4914-6671>), R Core Team [ctb]
Initial release
2020-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.