getAll {HaploSim}R 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 = TRUE)

Arguments

hList List of objects of class haplotype.
what Specifies if snp or qtl alleles are extracted from haplotype objects.
removeHomozygotes If TRUE (defualt), homozygote genotyes are removed from the snp panel.

Details

Function removes homozygous snp loci before extracting these.

Value

Matrix.

Examples

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

[Package HaploSim version 1.8.1 Index]