getAll {HaploSim} | R Documentation |
Extract the sequence of snp alleles from a list of objects of
class haplotype
.
getAll(hList,what = c("snp","qtl"),removeHomozygotes = TRUE)
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. |
Function removes homozygous snp loci before extracting these.
Matrix.
example(AssignQTL) hh <- getAll(hList = hList) qq <- getAll(hList = hList,what = 'qtl')