make.location.prior: Provide a default prior

make.location.priorR Documentation

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 )

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

Value

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

Author(s)

Charles C. Berry, cberry@ucsd.edu


bqtl documentation built on Sept. 25, 2024, 1:08 a.m.