Learn R Programming

onemap (version 0.1-1)

est.rf.3pts: Three-point analysis of genetic markers

Description

Performs the three-point analysis proposed by Wu et al. (2002) for a triplet of markers in a given order.

Usage

est.rf.3pts(w, mrk1name = NULL, mrk2name = NULL, mrk3name = NULL, LOD =
5, max.rf = 0.35, max.nolink = 0.55)

Arguments

w
an object of class outcross.
mrk1name
a character string indicating the name of the first marker, corresponding to any marker in the input file stored in object w.
mrk2name
a character string indicating the name of the second marker.
mrk3name
a character string indicating the name of the third marker.
LOD
minimum LOD Score to declare linkage (defaults to 5).
max.rf
maximum recombination fraction between adjacent markers to declare linkage (defaults to 0.35).
max.nolink
maximum recombination fraction between markers on the edge of the triplet to declare linkage (defaults to 0.55).

Value

  • An object of class rf.3pts, which is a list containing the following components:
  • LODminimum LOD Score to declare linkage.
  • max.rfmaximum recombination fraction between adjacent markers to declare linkage.
  • max.nolinkmaximum recombination fraction between markers on the edge of the triplet to declare linkage.
  • marnamesnames of the three markers.
  • recomba vector with the three-point estimates of recombination fraction between markers mrk1name - mrk2name and mrk2name - mrk3name, under the most probable assignment.
  • phasea character string indicating the most probable assignment (linkage phases) for the three markers.
  • analysiscomplete results of the three-point analysis for the triplet of markers.
  • goodnessa vector with character strings indicating the goodness of each assignment, i.e., if the LOD Score and the estimates of recombination fraction are consistent with the criteria defined. Possible values are: "****" if the test is significant, the estimates are below the thresholds and the order seems to be right; "*" if the test is significant, but some estimates are above the thresholds and/or the order seems to be wrong; "-" if the test is not significant or all estimates are above the thresholds.
  • flaga number indicating if there is more than one equally probable assignment for the triplet of markers. Possible values are: 1 if positive, 0 if negative and NA if linkage is not significant.

Details

The three markers are analyzed in the order they are given as input, i.e., mrk1name - mrk2name - mrk3name.

References

Wu, R., Ma, C.-X., Painter, I. and Zeng, Z.-B. (2002) Simultaneous maximum likelihood estimation of linkage and linkage phases in outcrossing species. Theoretical Population Biology 61: 349-363.

See Also

cr3pts

Examples

Run this code
data(example_out)

  threepts <- est.rf.3pts(example_out,"M1","M2","M14") # correct order
  threepts

  threepts <- est.rf.3pts(example_out,"M1","M14","M2") # wrong order
  threepts

Run the code above in your browser using DataLab