Learn R Programming

qtl (version 1.42-8)

plot.scanoneperm: Plot permutation results for a single-QTL genome scan

Description

Plot a histogram of the permutation results from a single-QTL genome scan.

Usage

# S3 method for scanoneperm
plot(x, lodcolumn=1, …)

Arguments

x

An object of class "scanoneperm", as output by scanone when n.perm is specified.

lodcolumn

This indicates the LOD score column to plot. This should be a single number between 1 and the number of LOD columns in the object input.

Passed to the function hist when it is called.

Value

None.

Details

The function plots a histogram of the permutation results obtained by scanone when n.perm is specified. If separate permutations were performed for the autosomes and the X chromosome (using perm.Xsp=TRUE), separate histograms are given.

See Also

scanone, summary.scanoneperm

Examples

Run this code
# NOT RUN {
data(fake.bc)
fake.bc <- calc.genoprob(fake.bc)

operm <- scanone(fake.bc, method="hk", n.perm=100)
plot(operm)
# }

Run the code above in your browser using DataLab