Skip to contents

This function takes a set of haplotypes and a set of sequences, and returns a subset of sequences corresponding to the unique haplotypes.

Usage

select_seqs_by_hap(haps, seqs)

Arguments

haps

A vector containing haplotype information.

seqs

A DNA alignment object.

Value

A subset of sequences corresponding to the unique sequences by haplotype.