reduce_probs: Reduce elements of genoprobs list by allelic series

Description Usage Arguments Details Value

View source: R/reduce_probs.R

Description

Reduce elements of genoprobs list by allelic series

Usage

1
reduce_probs(probs, allelic_series)

Arguments

probs

a list containing founder allele probabilities for a collection of markers

allelic_series

a binary matrix of 0s and 1s indicating the allelic series

Details

The output has two classes: list and calc_genoprob. Class 'calc_genoprob' is needed for input to qtl2::scan1, for example. Output length is same as that of inputted allele probs object.

Value

an object with class calc_genoprob.


fboehm/reducedscan documentation built on April 30, 2021, 8:31 p.m.