Learn R Programming

mappoly (version 0.4.1)

get_rf_from_list: 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)

Value

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

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.