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

View source: R/check_phase_configurations.R

get_indices_from_selected_phasesR Documentation

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)

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)

Value

a list of indices for both parents


mappoly documentation built on May 29, 2024, 6:05 a.m.