Learn R Programming

qtl (version 1.44-9)

mqmprocesspermutation: Convert mqmmulti objects into a scanoneperm object

Description

Function to convert mqmmulti objects into a scanoneperm object, this allows the use of R/qtl methods for permutation analysis that do not support the output of a multiple QTL scan using mqm's outputstructure.

Usage

mqmprocesspermutation(mqmpermutationresult = NULL)

Arguments

mqmpermutationresult

mqmmulti object obtained after performing permutations on a single trait.using the function mqmpermutation

Value

Output of the algorithm is a scanoneperm object. See also: summary.scanoneperm

See Also

Examples

Run this code
# NOT RUN {
# QTL at chromosome 3
f2qtl <- c(3,15,1,0)

# Mouse genetic map
data(map10)

# }
# NOT RUN {
# Simulate a F2 Cross
f2cross <- sim.cross(map10,f2qtl,n=100,type="f2")
# }
# NOT RUN {
# Bootstrap MQM mapping on the f2cross
f2result <- mqmpermutation(f2cross,scanfunction=mqmscan)
# }
# NOT RUN {
# Create a permutation object
f2perm <- mqmprocesspermutation(f2result)

# What LOD score is considered significant?
summary(f2perm)
# }

Run the code above in your browser using DataLab