- data
A data.frame
(or vector) of phenotype and
(optionally) covariate information
- map.frame
A map.frame.object
(see make.map.frame
) encoding the map
information and other details of the study
- marker.frame
A marker.frame.object
. A matrix or data.frame
of marker state information.
- marker.levels
A vector of length six or NULL
. If
NULL
then the defaults for the elements are:
Element | F2.default | BC.default | RI.default |
1 | "AA" | "AA" | "AA" |
2 | "Aa" | "Aa" | "aa" |
3 | "aa" | "nil" | "nil" |
4 | "A-" | "nil" | "nil" |
5 | "a-" | "nil" | "nil" |
6 | "--" | "--" | "--" |
NA's are allowed in marker.frame
as well as the sixth
element("--"
by default) to denote missing data. To use other
coding schemes replace "AA" and "aa" by codes for homozygous states,
"Aa" by the code for heterozygotes, "A-" by the code for 'not aa',
"a-" by the code for 'not AA', and "--"
by the missing code.
Positions 3:5 are just placeholders if method!="F2"
, but must
be present.
- method
One of "F2", "BC1", "RI.self", or "RI.sib"
- casewt
If there are multiple observations on one genotype (such
as in recombinant inbreds) this can be used to assign a weight to
each observation. The wisdom of doing this is debatable.
- varcov
If FALSE, don't create a varcov.object. Otherwise give an
index into data to select a dependent variable. See varcov
- mode.mat
If NULL
use the default. For
method=="F2"
( and the default marker.levels
of
AA
, Aa
, and aa
),
this is a 3 by 2 matrix:
Genotype | add | dom |
AA | 1 | -1 |
Aa | 0 | 1 |
aa | -1 | -1 |
For method=="BC1"
( and the default marker.levels
of
AA
and Aa
),it is
and for RIL methods ( and the default marker.levels
of
AA
and aa
),it is
Other choices of marker.levels
will relabel the corresponding
rows.