Dear Joanne,
It is possible to analyze combined backcross/intercross data with R/
qtl, though it can be a bit tricky, I've not tested this thoroughly,
and it may require a bit of programming and manipulation of the data
objects.
R/qtl doesn't handle N3 data exactly right, but if you have reasonably
dense and complete marker data, analysis as if it were a regular
backcross should be okay.
You want to load the data, do genotype probability calculations (with
calc.genoprob), and then combine. That's so that the genotype
probabilities are calculated appropriate for the individuals; if you
combined first, the backcross individuals would be treated the same as
the intercross individuals, which isn't quite right.
There's some code below that illustrates some of this with simulated
data.
karl
-----------
# simulate data with a single QTL; just the autosomes
data(map10)
bc <- sim.cross(map10[1:19], model=c(3, 15, 0.5), type="bc", n.ind=200)
f2 <- sim.cross(map10[1:19], model=c(3, 15, 0.5, 0), type="f2",
n.ind=200)
# calculate genotype probabilities
bc <- calc.genoprob(bc, step=1)
f2 <- calc.genoprob(f2, step=1)
# separate analyses
out.bc <- scanone(bc)
out.f2 <- scanone(f2)
# combined data
comb <- c(bc, f2)
thecross <- pull.pheno(comb, "cross")
out.comb <- scanone(comb, addcovar=thecross)
# plot the results, just for chr 3
plot(out.comb, out.bc, out.f2, chr=3)
legend("topright", c("Combined", "Backcross", "Intercross"),
col=c("black","blue","red"), lwd=2)