haploSet-class {SHARE}R Documentation

Haplotype Set

Description

A class to store the haplotype sequences and their frequencies.

Objects from the Class

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

Slots

haploSeq:
Object of class "data.frame" to store the haplotype sequences. Names of haplotype sequences are used as the row names of the "data.frame", and names of SNPs are used as the column names.
haploFreq:
Object of class "vector" to store the frequencies of the haplotype sequences in the haploSeq slot. Names of each elements must match the names of haplotype sequences.

Methods

haploFreq
signature(.Object = "haploSet"): the "vector" object in the haploFreq slot.
haploSeq
signature(.Object = "haploSet"): the "data.frame" object in the haploSeq slot.

Author(s)

Ting-Yuan Liu

See Also

haplo-class

Examples

showClass("haploSet")

[Package SHARE version 1.0.4 Index]