scantwoF | R Documentation |
Extension of the R/qtl function scantwo
. Two-dimensional genome
scan with a two-QTL model for function valuded trait data.
scantwoF(cross, pheno.cols, usec = c("slod", "mlod"), n.perm, ...)
cross |
An object of class |
pheno.cols |
Columns in the phenotype matrix to be used as the phenotype. |
usec |
Which method to use ( |
n.perm |
If specified, a permutation test is performed rather than an analysis of the observed data. This argument defines the number of permutation replicates. |
... |
More parameters controled in 'scantwo'. See 'scantwo' for details. |
If n.perm
is missing, the function returns a list with class
"scantwo"
and containing three components. The first component is a
matrix of dimension [tot.pos x tot.pos]; the upper triangle contains the
(S/MLOD) scores for the additive model, and the lower triangle contains the
LOD scores for the full model. The diagonal contains the results of
a single-QTL scan. The second component of the output is a data.frame indicating the
locations at which the two-QTL (S/MLOD) scores were calculated. The first
column is the chromosome identifier, the second column is the position in
cM, the third column is a 1/0 indicator for ease in later pulling out only
the equally spaced positions, and the fourth column indicates whether the
position is on the X chromosome or not. The final component is a version of
the results of 'scanone' including sex and/or cross direction as additive
covariates, which is needed for a proper calculation of conditional (S/MLOD)
scores.
If n.perm
is specified, the function returns a list with six different LOD
scores from each of the permutation replicates. ... need more ..
Il-Youp Kwak, <email: ikwak2@stat.wisc.edu>
scantwo
, codescanoneF
data(exd) exd <- calc.genoprob(exd, step = 0) out <-scantwoF(exd, method = "hk", usec="slod") plot(out) # Permutation tests n.perm <- 1000 ## Not run: permo <- scantwoF(exd, method="hk", n.perm=n.perm) summary(permo, alpha=0.05) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.