compare_haplotypes: Compare two polyploid haplotypes stored in list format

View source: R/utils.R

compare_haplotypesR Documentation

Compare two polyploid haplotypes stored in list format

Description

Compare two polyploid haplotypes stored in list format

Usage

compare_haplotypes(ploidy, h1, h2)

Arguments

ploidy

ploidy level

h1

homology group 1

h2

homology group 2

Value

a numeric vector of size ploidy indicating which homolog in h2 represents the homolog in h1. If there is no correspondence, i.e. different homolog, it returns NA for that homolog.


mmollina/MAPPoly documentation built on March 8, 2024, 2:04 a.m.