LOD: Compute the LOD score of a marker given a data set

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Compute the LOD score of a marker given a data set

Usage

1
LOD(marker, data, phenotype = "IgG1")

Arguments

marker

Marker name (e.g. "Marker_1", "Marker_2", should be a column of data).

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).

Value

The LOD score (numeric value)

Examples

1
2
data(hw_data)
LOD('Marker_1', data = hw_data)

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