LOD_position: Compute the LOD score at a given position (unobserved) given...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Compute the LOD score at a given position (unobserved) given a data set and a genetic map

Usage

1
LOD_position(position, data, map, phenotype = "IgG1")

Arguments

position

Position (in cM) of the marker along the chromosome

data

Data frame with genotypes and phenotype. Genotypes should be coded 0/1

phenotype

Phenotype name (defaults to "IgG1"), should be a column of data).

genetic_map

Genetic map of the chromosome

Value

LOD score (numeric value)

Examples

1
2
3
data(hw_data)
data(genetic_map)
LOD_position(position = 48, data = hw_data, map = genetic_map)

mahendra-mariadassou/L1fdvGenetics documentation built on May 20, 2021, 10:42 p.m.