probs_to_grid: Subset genotype probability array to pseudomarkers on a grid

Description Usage Arguments Value Examples

Description

Subset genotype probability array (from calc_genoprob to a grid of pseudomarkers along each chromosome.

Usage

1

Arguments

probs

List of 3d arrays, as output from calc_genoprob with stepwidth="fixed".

Value

Same list as input, but subset to just include pseudomarkers along a grid.

Examples

1
2
3
4
5
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
probs <- calc_genoprob(grav2, step=1, error_prob=0.002)
sapply(probs, dim)
probs_sub <- probs_to_grid(probs)
sapply(probs_sub, dim)

simecek/qtl2 documentation built on May 29, 2019, 10:01 p.m.