make.state.matrix | R Documentation |
Create a state.matrix.object to be used encode marker information in a form in which it can be used in subsequent calculations.
make.state.matrix(marker.frame, marker.distances, method="F2")
marker.frame |
Actually, this is a misnomer. This is NOT
a | |||||||||||||||||||||||||||||
marker.distances |
Distances between the markers in the 'lambda' metric. -log(lambda)/2 is the Haldance map distance. Linkage groups are separated by values of 0.0. | |||||||||||||||||||||||||||||
method |
method = "F2" is the default, and "BC1", "RI.self", and "RI.sib" are other options. The assumed setup is as follows (strains are A and a):
|
n by k by q array. q is 3 for method="F2" and 2 for others methods. Each element encodes the probability of the allele state conditional on the marker states.
It might have been better to design this array so that the third subscript moves fastest. In large problems, the current structure may involve excessive memory access.
Lander E.S. and Green P. (1987) Construction of multilocus genetic linkage maps in humans. Proceedings of the National Academy of Sciences of the United States of America, 84(8), 2363–7.
Jiang C. and Zeng Z-B. (1997) Mapping quantitative trait loci with dominant and missing markers in various crosses from tow inbred lines. Genetica 101, 47-58.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.