getHaplosInds: Haplotypes of several genotypes

View source: R/quantgen.R

getHaplosIndsR Documentation

Haplotypes of several genotypes

Description

Retrieve both haplotypes for all chromosomes of certain genotypes.

Usage

getHaplosInds(haplos, ind.names)

Arguments

haplos

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

ind.names

identifier of the genotypes to retrieve

Value

list similar to "haplos"

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 12, 2025, 11:35 p.m.