Learn R Programming

qtlDesign (version 0.953)

Information-cost functions: Functions to calculate information-cost ratios

Description

Functions to calculate information cost-ratios.

Usage

info2cost(sel.frac,cost,d,G=NULL,cross)
info2cost.bc(sel.frac,cost,d,G=NULL)
info2cost.f2(sel.frac,cost,d,G=NULL)

Value

For d!=0 it calculates the ratio of information in the middle of a marker interval of length d cM to the cost of genotyping the cross. For d=0, it calculates the ratio of information at any locus to the cost of genotyping the cross.

Arguments

sel.frac

Selection fraction; proportion of individuals genotyped

cost

Genotyping cost in units of raising an individual. When d=0 (dense genotyping), it is the cost of genotyping an individual. When d!=0, it is the cost of a single marker genotype in an individual.

d

Marker spacing in centiMorgans

G

Genome size in Morgans

cross

Cross type, "bc"or "f2"

Author

Saunak Sen, Jaya Satagopan, Karl Broman, and Gary Churchill

Details

The information calculations are done under the null hypothesis of no QTL effect.

References

Sen S, Satagopan JM, Churchill GA (2005) Quantitative trait locus study design from an information perspective. Genetics, 170:447-64.

See Also

info

Examples

Run this code
info2cost(0.5,1,cross="bc")
info2cost(0.5,1,10,1450,cross="bc")

Run the code above in your browser using DataLab