scantwopermhk(cross, chr, pheno.col=1, addcovar=NULL, weights=NULL, n.perm=1, batchsize=1000, perm.strata=NULL, perm.Xsp=NULL, verbose=FALSE, assumeCondIndep=FALSE)
cross
. See
read.cross
for details.-
to have all chromosomes but those considered. A logical (TRUE/FALSE)
vector may also be used.model="normal"
.n.perm > batchsize
, permutations will be
run in batches of no more than batchsize
permutations.n.perm
refers to the number of permutations
for the A:A part; more permutations are used for the A:X and X:X parts,
as estimates of quantiles farther out into the tails are needed.summary.scantwoperm
, but does get
calculated at each permutation, so we include it for the sake of
completeness.If perm.Xsp=TRUE
, this is a list of lists, for the A:A, A:X,
and X:X sections, each being a list as described above.
scantwo
: only for a normal model with Haley-Knott
regression, and not allowing interactive covariates. This is an attempt to speed things up and attentuate the memory usage
problems in scantwo
.
In the case of perm.Xsp=TRUE
(X-chr-specific thresholds), we
use a stratified permutation test, stratified by sex and
cross-direction.
Haley, C. S. and Knott, S. A. (1992) A simple regression method for mapping quantitative trait loci in line crosses using flanking markers. Heredity 69, 315--324.
scantwo
, plot.scantwoperm
,
summary.scantwoperm
,
c.scantwoperm
data(fake.f2)
fake.f2 <- calc.genoprob(fake.f2, step=5)
operm <- scantwopermhk(fake.f2, n.perm=2)
summary(operm, alpha=0.05)
Run the code above in your browser using DataLab