Utility {qtlDesign} | R Documentation |
Utility functions
recomb(d) genetic.dist(theta) pmixnorm(x,mean=c(0,0),sd=c(1,1),mix.prop=0.5,level=0) prop2delta.bc(prop) delta2prop.bc(delta) prop2delta.f2(prop,model) delta2prop.f2(delta,model) prop2gv(prop) gv2prop(gv)
d |
Genetic distance in Morgans |
theta |
Recombination fraction |
x |
Real number |
mean |
Means of component mixtures |
sd |
Standard deviations of component mixtures |
mix.prop |
Mixing proportion |
level |
Subtracting constant |
prop |
Proportion of variance explained by a QTL |
delta |
QTL effect size |
model |
Type of genetic model |
gv |
Genetic variance |
recomb
returns the recombination fraction
corresponding to a genetic distance in Morgans. genetic.dist
returns the genetic distance in Morgans for a recombination fraction.
pmixnorm
returns the probability
mixture of two Normal distributions with means given by mean
,
standard deviations sd
, and mixing proportions mix.prob
,
is less than x
. prop2delta.bc
returns the QTL effect from
the proportion of variance explained for a backcross.
delta2prop.bc
returns the QTL effect from the proportion of
variance explained in a backcross.
prop2delta.f2
returns the QTL effect from
the proportion of variance explained and genetic model for a F2 intercross.
delta2prop.f2
returns the QTL effect from the proportion of
variance explained and the genetic model in an F2 intercross.
prop2gv
returns the genetic variance (as a fraction of the
environmental variance) given the proportion of variance explained by
a QTL. gv2prop
performs the inverse function.
We assume Haldane mapping function for the genetic distance.
Saunak Sen, Jaya Satagopan, and Gary Churchill
Sen, Satagopan, and Churchill (2004), QTL study design from an information perspective, http://repositories.cdlib.org/cbmb/QTLdesign.
recomb(0.1) genetic.dist(0.1) prop2delta.bc(0.1) delta2prop.bc(0.1)