get.haplo: Derive haplotypes of selected individuals

Description Usage Arguments Value Examples

View source: R/get.haplo.R

Description

Function to devide haplotypes of selected individuals

Usage

1
2
get.haplo(population, database = NULL, gen = NULL, cohorts = NULL,
  chromosomen = "all", export.alleles = FALSE)

Arguments

population

Population list

database

Groups of individuals to consider for the export

gen

Quick-insert for database (vector of all generations to export)

cohorts

Quick-insert for database (vector of names of cohorts to export)

chromosomen

Beschraenkung der Haplotypen auf bestimmte Chromosomen (default: 1)

export.alleles

If TRUE export underlying alleles instead of just 012

Value

Haplotype data for in gen/database/cohorts selected individuals

Examples

1
2
data(ex_pop)
haplo <- get.haplo(ex_pop, gen=2)

MoBPS documentation built on March 31, 2020, 5:22 p.m.

Related to get.haplo in MoBPS...