Learn R Programming

qtl (version 0.85-4)

vbscan.perm: Permutation test for trait with some undefined values

Description

Performs a permutation test for the function vbscan, which performs a genome scan by interval mapping for a quantitative phenotype for which some individuals' phenotype is undefined (for example, the size of a lesion, where some individuals have no lesion).

Usage

vbscan.perm(cross, chr, pheno.col=1, upper=FALSE,
       n.perm=1000, maxit=1000, tol=1e-8)

Arguments

cross
An object of class cross. See read.cross for details.
chr
Vector indicating the chromosomes for which LOD scores should be calculated.
pheno.col
Column number in the phenotype matrix which should be used as the phenotype.
upper
If true, the "undefined" phenotype is the maximum observed phenotype; otherwise, it is the smallest observed phenotype.
n.perm
Number of permutations to be performed.
maxit
Maximum number of iterations in the EM algorithm; used only in interval mapping.
tol
Tolerance value for determining convergence in the EM algorithm; used only in interval mapping.

Value

  • A matrix of dimension [n.perm x 3]. The columns are the maximum LOD(p,mu), LOD(p), and LOD(mu) score across the whole genome, for each of the permutation replicates.

Details

The function requires that multipoint genotype probabilities are first calculated using calc.genoprob.

Describe the model here.

Individuals with missing phenotypes are dropped.

References

GA Churchill, RW Doerge (1994) Empirical threshold values for quantitative trait mapping. Genetics 138:963-971.

Boyartchuk VL, Broman KW, Mosher RE, D'Orazio SEF, Starnbach MN, Dietrich WF (2001) Multigenic control of Listeria monocytogenes susceptibility in mice. Nature Genetics 27:259-260 Broman KW, Boyartchuk VL, Dietrich WF (2000) Mapping time-to-death quantitative trait loci in a mouse cross with high survival rates. Technical Report MS00-04, Department of Biostatistics, Johns Hopkins University, Baltimore, MD

See Also

vbscan, calc.genoprob, scanone.perm

Examples

Run this code
data(listeria)
listeria$pheno <- log10(listeria$pheno)
listeria <- calc.genoprob(listeria,step=1,off.end=0,err=0)
output <- vbscan.perm(listeria,upper=TRUE,n.perm=1000)
<testonly>output <- vbscan.perm(listeria,upper=TRUE,n.perm=3)</testonly>
thresholds <- apply(output,2,quantile,0.95)

Run the code above in your browser using DataLab