select_haplotype: select_haplotype

View source: R/select_haplotype.R

select_haplotypeR Documentation

select_haplotype

Description

The function selects a provided list individual from the input population.

Usage

select_haplotype(pop,haplotypes_ids)

Arguments

pop

Required: an input haplotype object

haplotypes_ids

Required: a list or indices of individuals to be selected

Value

A haplotype object of the selected individuals

Examples

haplotype_sub1 = select_haplotype(haplotype1,c("pop1_107","pop1_167","pop1_252","pop1_288","pop1_311"))

USDA-ARS-GBRU/crossword documentation built on Oct. 11, 2024, 12:51 a.m.