getAll: Get alleles

View source: R/getAll.R

getAllR Documentation

Get alleles

Description

Extract the sequence of snp alleles from a list of objects of class haplotype.

Usage

getAll(hList,what = c("snp","qtl"),removeHomozygotes =
FALSE,translatePos = TRUE)

Arguments

hList

List of objects of class haplotype.

what

Specifies if snp or qtl alleles are extracted from haplotype objects.

removeHomozygotes

If TRUE, homozygote genotypes are removed from the marker data.

translatePos

Translates marker positions to positions in Morgan, else keeps the positions as integers.

Details

Function removes homozygous snp loci before extracting these.

Value

Matrix.

Examples

example(AssignQTL)
hh <- getAll(hList = hList)
qq <- getAll(hList = hList,what = 'qtl')

HaploSim documentation built on Aug. 14, 2022, 1:06 a.m.

Related to getAll in HaploSim...