Learn R Programming

bqtl (version 1.0-39)

make.location.prior: Provide a default prior

Description

Uses the map distances as a means of assigning a prior for chromosomal location. Basically, this function attempts to assign equal weight according to the spacing or markers and 'virtual' markers.

Usage

make.location.prior( x, add.2.end=0, normalize=TRUE )

Value

A vector of length(x) whose sum is one, if normalize==TRUE

Arguments

x

\(x = e^{-mgd}\) ,where mgd is the map distance in Morgans

add.2.end

How many Morgans to extend the first and last interval on each chromosome

normalize

If TRUE, let the result sum to 1.0

Author

Charles C. Berry, cberry@ucsd.edu