fill.in.snps: Interpolate between SNPs at the same cM value.

View source: R/fill.in.snps.R

fill.in.snpsR Documentation

Interpolate between SNPs at the same cM value.

Description

Go through the SNPs and look for stretches where the differences in cM values from one SNP to the next equals 0. Interpolate from the first SNP to the last SNP in such a stretch.

Usage

  fill.in.snps(snps)

Arguments

snps

Data.frame containing the marker locations. SNP ID, chromosome, Mb anc cM locations in columns 1 through 4, respectively.

Details

On each chromosome, look for sets of contiguous markers that have the same cM location. Interpolate evenly spaced markers spanning the markers proximal and distal to this set.

Value

Data.frame containing the marker locations. SNP ID, chromosome, Mb anc cM locations in columns 1 through 4, respectively.

Author(s)

Daniel Gatti

Examples

  ## Not run:  fill.in.snps(snps) 

dmgatti/DOQTL documentation built on April 7, 2024, 10:35 p.m.