Description Usage Arguments Details Value
Genome scan with a single QTL model, with possible allowance for covariates, using any of several possible models for the phenotype and any of several possible numerical methods.
1 2 3 4 5 6 7 | Scanone(cross, chr, pheno.col=1, model=c("normal","binary","2part","np"),
method=c("em","imp","hk","ehk","mr","mr-imp","mr-argmax"),
addcovar=NULL, intcovar=NULL, weights=NULL,
use=c("all.obs", "complete.obs"), upper=FALSE,
ties.random=FALSE, start=NULL, maxit=4000,
tol=1e-4, n.perm, perm.Xsp=FALSE, perm.strata=NULL, verbose,
batchsize=250, n.cluster=1, ind.noqtl)
|
cross |
An object of class |
chr |
Optional vector indicating the chromosomes for which LOD
scores should be calculated. This should be a vector of character
strings referring to chromosomes by name; numeric values are
converted to strings. Refer to chromosomes with a preceding |
pheno.col |
Column number in the phenotype matrix which should be
used as the phenotype. This can be a vector of integers; for methods
|
model |
The phenotype model: the usual normal model, a model for binary traits, a two-part model or non-parametric analysis |
method |
Indicates whether to use the EM algorithm,
imputation, Haley-Knott regression, the extended Haley-Knott method,
or marker regression. Not all methods are available for all models.
Marker regression is performed either by dropping individuals with
missing genotypes ( |
addcovar |
Additive covariates; allowed only for the normal and binary models. |
intcovar |
Interactive covariates (interact with QTL genotype); allowed only for the normal and binary models. |
weights |
Optional weights of individuals. Should be either NULL
or a vector of length n.ind containing positive weights. Used only
in the case |
use |
In the case that multiple phenotypes are selected to be scanned, this argument indicates whether to use all individuals, including those missing some phenotypes, or just those individuals that have data on all selected phenotypes. |
upper |
Used only for the two-part model; if true, the "undefined" phenotype is the maximum observed phenotype; otherwise, it is the smallest observed phenotype. |
ties.random |
Used only for the non-parametric "model"; if TRUE, ties in the phenotypes are ranked at random. If FALSE, average ranks are used and a corrected LOD score is calculated. |
start |
Used only for the EM algorithm with the normal model and
no covariates. If |
maxit |
Maximum number of iterations for methods |
tol |
Tolerance value for determining convergence for methods
|
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. |
perm.Xsp |
If |
perm.strata |
If |
verbose |
In the case |
batchsize |
The number of phenotypes (or permutations) to be run
as a batch; used only for methods |
n.cluster |
If the package |
ind.noqtl |
Indicates individuals who should not be allowed a QTL effect (used rarely, if at all); this is a logical vector of same length as there are individuals in the cross. |
See "scanone"
in "qtl"
package for details.
If n.perm
is missing, the function returns a data.frame whose
first two columns contain the chromosome IDs and cM positions.
Subsequent columns contain the LOD scores for each phenotype.
In the case of the two-part model, there are three LOD score columns
for each phenotype: LOD(p,mu), LOD(p) and
LOD(mu). The result is given class "scanone"
and
has attributes "model"
, "method"
, "df"
and
"type"
(the latter is the type of cross analyzed).
If n.perm
is specified, the function returns the results of a
permutation test and the output has class "scanoneperm"
. If
perm.Xsp=FALSE
, the function returns a matrix with
n.perm
rows, each row containing the genome-wide
maximum LOD score for each of the phenotypes. In the case of the
two-part model, there are three columns for each phenotype,
corresponding to the three different LOD scores. If
perm.Xsp=TRUE
, the result contains separate permutation results
for the autosomes and the X chromosome respectively, and an attribute
indicates the lengths of the chromosomes and an indicator of which
chromosome is X.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.