effectscan(cross, pheno.col=1, chr, get.se=FALSE, draw=TRUE, gap=25, ylim, mtick=c("line","triangle"), add.legend=TRUE, alternate.chrid=FALSE, ...)
cross
.-
to have all chromosomes but
those considered. A logical (TRUE/FALSE) vector may also be used.plot
when it
is called."effectscan"
, which is the same as the form returned by the
function scanone
, though with estimated effects
where LOD scores might be. That is, it is a data frame with the first
two columns being chromosome ID and position (in cM), and subsequent
columns being estimated effects, and (if get.se=TRUE
) standard
errors.
sim.geno
are required for taking
account of missing genotype information.For a backcross, the additive effect is estimated as the difference between the phenotypic averages for heterozygotes and homozygotes.
For recombinant inbred lines, the additive effect is estimated as half the difference between the phenotypic averages for the two homozygotes.
For an intercross, the additive and dominance effects are estimated from linear regression on $a$ and $d$ with $a$ = -1, 0, 1, for the AA, AB and BB genotypes, respectively, and $d$ = 0, 1, 0, for the AA, AB and BB genotypes, respectively.
As usual, the X chromosome is a bit more complicated. We estimate separate additive effects for the two sexes, and for the two directions within females.
There is an internal function plot.effectscan
that creates
the actual plot by calling plot.scanone
. In the case
get.se=TRUE
, colored regions indicate $+/-$ 1 SE.
effectplot
, plotPXG
,
sim.geno
data(fake.f2)
fake.f2 <- sim.geno(fake.f2, step=2.5, n.draws=16)
# allelic effect on whole genome
effectscan(fake.f2)
# on chromosome 13, include standard errors
effectscan(fake.f2, chr="13", mtick="triangle", get.se=TRUE)
Run the code above in your browser using DataLab