Hi Karl
I have two questions:
1st: plot.pxg / effectplot
I am trying to plot the effect size of a marker I found during scanone analysis (using interval mapping). My scanone output came up with the following pseudomarker: 7...@147.033206.
I then used the following commands to try to
gain effect plots:
AllChrSuperNewNewIM <- calc.genoprob(AllChrSuperNewNew, step=1, error.prob=0.001, map.function="kosambi")
par(mfrow=c(2,1))
c7.loc147 <- find.marker(AllChrSuperNewNewIM, 7, 147.033206)
plot.pxg(AllChrSuperNewNewIM , pheno.col="Cyp51Bin", marker=c7.loc147, infer=T)
effectplot(AllChrSuperNewNewIM , pheno.col="Cyp51Bin", mname1=c7.loc147)
The plots work fine, but it seems as instead of showing me the effect size of the desired pseudomarker, the output is on the closest true marker. When reading the help file for ‘effectplot’, I found that it uses the ‘sim.geno’ output, thus I also tried the following (at least for the effectplot):
AllChrSuperNewNewSIM <- sim.geno(AllChrSuperNewNew, step=1, n.draws=16, error.prob=0.001, map.function="kosambi")
eff <- effectplot(AllChrSuperNewNewSIM , pheno.col="Cyp51Bin", mname1="7...@147.033206")
Still I get a plot for the closest true marker. Where am I going wrong?
2nd: Variance explained by a marker
For the same pseudomarker as mentioned above, I was hopping to calculate the percentage of total variance explained by this marker. I used two approaches:
1.
AllChrSuperNewNewSIM <- sim.geno(AllChrSuperNewNew, step=1, n.draws=16, error.prob=0.001, map.function="kosambi")
qtl <- makeqtl(AllChrSuperNewNewSIM, chr=7, pos=147.033206)
summary(fitqtl(AllChrSuperNewNewSIM, pheno.col="Cyp51Bin", qtl=qtl, method="hk", model=c("binary")))
2.
1 – 10^(-2 LOD / n)
Both provided me with an output of around 70% of variance. The effect plots from above however seemed to indicate far higher percentage. Thus I am a bit skeptical about the output, especially because I also ran an ANOVA model outside of RQTL and it came up with 93%, which seems to fit more to the plot.
What am I missing here?
Thanks for your help.
Best,
Mark
Hi Karl