get_rf_from_list: Get the recombination fraction for a sequence of markers...

View source: R/check_phase_configurations.R

get_rf_from_listR Documentation

Get the recombination fraction for a sequence of markers given an object of class mappoly.twopt and a list containing the linkage phase configuration. This list can be found in any object of class two.pts.linkage.phases, in x$config.to.test$'Conf-i', where x is the object of class two.pts.linkage.phases and i is one of the possible configurations.

Description

Get the recombination fraction for a sequence of markers given an object of class mappoly.twopt and a list containing the linkage phase configuration. This list can be found in any object of class two.pts.linkage.phases, in x$config.to.test$'Conf-i', where x is the object of class two.pts.linkage.phases and i is one of the possible configurations.

Usage

get_rf_from_list(twopt, ph.list)

Arguments

twopt

an object of class mappoly.twopt

ph.list

a list containing the linkage phase configuration. This list can be found in any object of class two.pts.linkage.phases, in x$config.to.test$'Conf-i', where x is the object of class two.pts.linkage.phases and i is one of the possible configurations.

Value

a vector with the recombination fraction between markers present in ph.list, for that specific order.


mappoly documentation built on Jan. 6, 2023, 1:16 a.m.