marker.fill {bqtl}R Documentation

Map Positions Between Markers


Given a set of markers, one wants to create a finer map at a given resolution. marker fill takes a a collection of marker distances and a desired resolution and finds positions that are intermediate and at that resolution.


marker.fill(map.frame, reso, return.nint = FALSE)



A map.frame.object.


The desired interval between loci in the same metric as map.frame$cM


Whether to output a vector of number of intervals to produce in each existing interlocus interval


If return.nint is TRUE, a vector of integers is returned. It indicates how many intervals to place between this marker and the next to achive the desired minimum distance.

If return.nint is FALSE, a vector of distances is returned. The names attribute has suffixes added to indicate positions filled to the 'right' of existing markers. Thus if markers 'mark.01' and 'mark.02' are in succession at a distance of 3 and reso==1, then the value associated with 'mark.01' (which was 3) becomes 1, a value of 1 is associated with new loci called 'mark.01.1' and 'mark.01.2' in created with values of 1 each. The returned vector is ordered by chromosome, then marker or filled locus.

See Also


data(  )
little.nint <- marker.fill(, reso=5, TRUE )
rm(, little.nint )

[Package bqtl version 1.0-33 Index]