Learn R Programming

bqtl (version 1.0-3)

locus: Lookup loci or effects for genetic model formulas

Description

Convert numeric indexes to names of regressors for a genetic model. One or many genetic models can be specified through the use of this function. It is used on the right hand side of a formula in the bqtl function.

Usage

locus(x, ...,chromo=NULL,cM=NULL, scope=<>,method=<>)

add(x,...)

dom(x,...)

bqtl( reg.formula = y ~ locus(14,17) * locus(133,245), my.analysis.object )

Arguments

x
Typically an integer, an integer vector, or an array whose elements are integers. These index loci described in a map.frame object. However, x can also be a character string, vector, et cetera, in which case
...
Optional arguments (usually integers) to be used when is.atomic(x) is TRUE.
chromo
A chromosome number or 2 ordered numbers. The loci on the chromosome or in the range of chromosome numbers are used. If chromo is used, x must not be used.
cM
(Optional) map distance or two giving a location near a locus or range of locations from which loci will be included. If the one chromosome number is specified in chromo, cM must be ordered. If cM is omitte