getLODMatrix: Get LOD matrix.

Description Usage Arguments Value References See Also

View source: R/getLODMatrix.R

Description

Given a scantwo object, this function extracts a LOD matrix, in which the upper and lower triangle contain LOD values of a type specified by the parameters upper and lower, respectively. The method used to obtain derived LOD values is that of R/qtl function plot.scantwo (Broman et al. 2003).

Usage

1
2
3
getLODMatrix(x, chr = NULL, incl.markers = FALSE, lodcolumn = NULL,
  lower = c("full", "cond-int", "int", "cond-add", "add"), upper = c("add",
  "cond-add", "int", "cond-int", "full"))

Arguments

x

An R/qtl scantwo object.

chr

Vector indicating which sequences to include in the LOD matrix.

incl.markers

When scantwo has been run with a fixed non-zero step width, this indicates if markers (as distinct from pseudomarkers) should be included in the returned LOD matrix.

lodcolumn

In a scanone or equivalent object, this parameter indicates which LOD column to consider. In other objects with LOD-column-associated elements, this parameter indicates which LOD-column-associated element to consider. This must be either a LOD column name or an index with respect to the set of LOD columns. If no LOD column is specified and one such column is found, that column is used by default; otherwise a LOD column must be specified.

lower

Type of LOD score to put in the lower triangle of the LOD matrix.

upper

Type of LOD score to put in the upper triangle of the LOD matrix.

Value

A LOD matrix taken from the input scantwo object, containing LOD scores for a single phenotype specified by the lodcolumn parameter.

References

Broman KW, Wu H, Sen S, Churchill GA (2003) R/qtl: QTL mapping in experimental crosses. Bioinformatics 19:889-890. (PubMed)

See Also

Function plot.scantwo in the R/qtl manual.


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.