maxL_IBD: Wrapper function to run estimate_IBD function over multiple...

Description Usage Arguments Value Examples

View source: R/polyqtlR_functions.R

Description

Function to run the estimate_IBD function over a range of possible error priors. The function returns a merged set of results that maximise the marginal likelihood per individual, i.e. allowing a per-individual error rate within the options provided in the errors argument.

Usage

1
maxL_IBD(errors = c(0.01, 0.05, 0.1, 0.2), ...)

Arguments

errors

Vector of offspring error priors to test (each between 0 and 1)

...

Arguments passed to estimate_IBD.

Value

A list containing the following components:

Examples

1
2
3
4
5
6
## Not run: 
data("phased_maplist.4x","SNP_dosages.4x")
maxL_IBD(phased_maplist=phased_maplist.4x,genotypes=SNP_dosages.4x,
ploidy=4,errors=c(0.01,0.02,0.05,0.1))

## End(Not run)

polyqtlR documentation built on Feb. 2, 2022, 5:09 p.m.

Related to maxL_IBD in polyqtlR...