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")

Example output

Loading required package: rehh.data
Loading required package: gplots

Attaching package: 'gplots'

The following object is masked from 'package:stats':

    lowess

Class "haplohh" [package "rehh"]

Slots:
                                                                  
Name:      haplo  position  snp.name  chr.name      nhap      nsnp
Class:    matrix   numeric character character   numeric   numeric

rehh documentation built on May 2, 2019, 5:17 p.m.