make.analysis.obj | R Documentation |
Create commonly used objects for the analysis of a backcross or intercross experiment or of recombinant inbred lines.
make.analysis.obj(data, map.frame, marker.frame, marker.levels=NULL,
method="F2", casewt=NULL,varcov=FALSE,mode.mat=NULL)
data |
A | |||||||||||||||||||||||||||||
map.frame |
A | |||||||||||||||||||||||||||||
marker.frame |
A | |||||||||||||||||||||||||||||
marker.levels |
A vector of length six or
NA's are allowed in | |||||||||||||||||||||||||||||
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 | |||||||||||||||||||||||||||||
mode.mat |
If
For
and for RIL methods ( and the default
Other choices of |
A lot of stuff is bundled together in one object. The function is
really just a wrapper calling other make.*
functions.
A list with components
data |
|
varcov |
A varcov.object. See |
reg.names |
The names of the regressors from |
method |
The |
state.matrix |
See |
loc.right |
See |
map.frame |
See |
casewt |
The |
mode.mat |
The |
version |
A string giving the version of BQTL from qhich the objects was created |
call |
The function call |
This can be quite a LARGE object.It might be better in crosses with lots (say, thousands) of markers, or in which many 'virtual' markers are used, or on computers with limited RAM to store each component separately. Not all components are used in every type of analysis.
Charles C. Berry cberry@ucsd.edu
make.map.frame
for definition of the marker map, The
internally used functions are: make.loc.right
,
make.state.matrix
, make.regressor.matrix
,
make.varcov
, and make.marker.numeric
data( little.bc.pheno )
data( little.mf.5 )
data( little.bc.markers )
names(little.bc.pheno)
little.ana.bc <- make.analysis.obj(little.bc.pheno$bc.phenotype,
little.mf.5,little.bc.markers,
method="BC1")
summary( little.ana.bc )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.