haplohh-class: Class '"haplohh"'

Description Objects from the Class Slots See Also Examples

Description

An object of class haplohh contains all relevant haplotype information (see below).

Objects from the Class

Objects can be created by calls of the form new("haplohh", ...).

Slots

haplo

Object of class "matrix": haplotypes with alleles coded as 0 (missing data), 1 (ancestral allele) or 2 (derived allele)

position

Object of class "numeric":position of the SNPs in the chromosome

snp.name

Object of class "character":names of the SNP

chr.name

Object of class "numeric":name of the chromosome SNPs are mapping to

nhap

Object of class "numeric":number of haplotypes

nsnp

Object of class "numeric":number of SNPs in the haplotypes

See Also

data2haplohh

Examples

1
showClass("haplohh")

theboocock/rehh documentation built on May 31, 2019, 9:11 a.m.