split_by_haplotypes: Split pids by haplotype

View source: R/RcppExports.R

split_by_haplotypesR Documentation

Split pids by haplotype

Description

Individuals with the same haplotype will be in the same group and individuals with different haplotypes will be in different groups.

Usage

split_by_haplotypes(population, pids)

Arguments

population

Population obtained from simulation

pids

Vector of individual pids

Value

List of integer vector, element i is an IntegerVector with all pids from pids with the same haplotype


malan documentation built on July 4, 2024, 9:09 a.m.