listValidHaplotypes: List valid haplotypes

Description Usage Arguments Details Value

Description

Select valid haplotypes (from a list) for a genotype

Usage

1
  listValidHaplotypes(genotype, haplotypes, ploidy = 2)

Arguments

genotype

The genotype. Can be in data.frame or list of list format.

haplotypes

The haplotypes. Can be in data.frame or list of lists format.

ploidy

How many alleles per locus. Default=2.

Details

Tests a set of haplotypes against a genotype to see if they are contained within.

Value

A list of valid haplotypes (each as a list).


mlPhaser documentation built on May 2, 2019, 7:59 a.m.