Learn R Programming

qtl (version 1.39-5)

mqmgetmodel: Retrieve the QTL model used in mapping from the results of an MQM scan

Description

Retrieves the QTL model used for scanning from the output of an MQM scan. The model only contains the selected cofactors significant at the specified cofactor.significance from the results of an mqm scan

Usage

mqmgetmodel(scanresult)

Arguments

scanresult
An object returned by mqmscan, including cofactors and QTL model.

Value

The function returns the QTL model created (cofactors selected in modeling found to be significant at cofactor.significance) and used during the mqmscan See for the format of the model: makeqtl returns NULL when no cofactors reach the significance threshold during QTL modeling.

See Also

Examples

Run this code
	data(hyper)
        
	hyperfilled <- fill.geno(hyper)
	cofactors <- mqmsetcofactors(hyperfilled,4)
	result <- mqmscan(hyperfilled,cofactors)
	mqmgetmodel(result)
	plot(mqmgetmodel(result))

Run the code above in your browser using DataLab