getHaplosInd: Haplotypes of an genotype

View source: R/quantgen.R

getHaplosIndR Documentation

Haplotypes of an genotype

Description

Retrieve both haplotypes for all chromosomes of a given genotype.

Usage

getHaplosInd(haplos, ind.name)

Arguments

haplos

list with one matrix per chromosome, with haplotype in rows and SNPs in columns, as returned by simulCoalescent

ind.name

identifier of the genotype to retrieve

Value

list similar to "haplos"

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.