Learn R Programming

rehh (version 2.0.4)

haplohh-class: Class "haplohh"

Description

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

Arguments

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 "character":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

Run this code
# NOT RUN {
showClass("haplohh")
# }

Run the code above in your browser using DataLab