scanoneM | R Documentation |
Genome scan with a single QTL model using dimensional reduction
scanoneM( cross, Y, tol = 0.0000001, n.perm = 0, method = c("hk", "f", "sl", "ml"), pheno.cols )
cross |
An object of class |
Y |
Dimension-reduced data set. |
tol |
Tolerance; passed to |
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. |
method |
The |
pheno.cols |
Columns in the phenotype matrix to be used as the phenotype. |
If n.perm
is missing, the function returns a data.frame whose
first two columns contain the chromosome IDs and cM positions. Subsequent
third and fourth columns contain the SLOD and MLOD scores.
If n.perm
is specified, the function returns the results of a permutation
test and the output returns the matrix of two columns. The first column for
SLOD and the second column for MLOD score.
Il-Youp Kwak, <email: ikwak2@stat.wisc.edu>
scanone
, scanoneF
data(simspal) # Genotype probabilities for H-K simspal <- calc.genoprob(simspal) # dimensional reduction of Y cvout <- cvfold(simspal, basisset = 5:50, fold = 20) plot(cvout) ## take nbasis = 15 Y <- calcfunpca(simspal, criteria=.999, nbasis = 15)$Y # do multitrait mapping out.hk <- scanoneM(simspal, Y=Y, method="hk") out.f <- scanoneM(simspal, Y=Y, method="f") out.sl <- scanoneM(simspal, Y=Y, method="sl") out.ml <- scanoneM(simspal, Y=Y, method="ml") # Summarize results summary(out.hk) summary(out.f) summary(out.sl) summary(out.ml) # Plot the results par(mfrow=c(3,1)) plot(out.hk) plot(out.f) plot(out.sl, out.ml)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.