generate_all_link_phases_elim_equivalent_haplo: Eliminate equivalent linkage phases

View source: R/haplotype_map_utils.R

generate_all_link_phases_elim_equivalent_haploR Documentation

Eliminate equivalent linkage phases

Description

Generates all possible linkage phases between two blocks of markers (or a block and a marker), eliminating equivalent configurations, i.e. configurations with the same likelihood and also considering the two-point information (shared alleles)

Usage

generate_all_link_phases_elim_equivalent_haplo(
  block1,
  block2,
  rf.matrix,
  ploidy,
  max.inc = NULL
)

Arguments

block1

submap with markers of the first block

block2

submap with markers of the second block, or just a single marker identified by its name

rf.matrix

matrix obtained with the function rf_list_to_matrix using the parameter shared.alleles = TRUE

ploidy

ploidy level (i.e. 4, 6 and so on)

max.inc

maximum number of allowed inconsistencies (default = NULL: don't check inconsistencies)

Author(s)

Marcelo Mollinari, mmollin@ncsu.edu and Gabriel Gesteira, gdesiqu@ncsu.edu


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