Learn R Programming

mappoly (version 0.4.1)

get_indices_from_selected_phases: Get the indices of selected linkage phases given a threshold

Description

Get the indices of selected linkage phases given a threshold

Usage

get_indices_from_selected_phases(x, thres)

Value

a list of indices for both parents

Arguments

x

a data frame containing information about two markers. In this data frame, the lines indicate the possible configuration phases and the columns indicate the LOD for configuration phase (ph_LOD), the recombination fraction (rf), and the LOD for recombination fraction (rf_LOD)

thres

a threshold from which the linkage phases can be discarded (if abs(ph_LOD) > thres)