haploListClass: Class "haploList"

haploList-classR Documentation

Class "haploList"

Description

Class definition of haploList. Extends lists to contian objects of class haplotype. Attributes are nDec, the number of decimal positions and genDist, the genome size measured in Morgan.

Objects from the Class

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

Slots

.Data:

Object of class "list" containing objects of class 'haplotype'

genDist:

Object of class "numeric" expressing the genome size in Morgan.

nDec:

Object of class "integer" expressing the number of decimal positions of the haplotypes.

nChrom:

Object of class "integer" expressing the number of chromosomes.

Extends

Class "list", from data part. Class "vector", by class "list", distance 2.

Methods

[

signature(x = "haploList", i = "ANY", j = "missing"): subset and extract from object of class 'haploList'

c

signature(x = "haploList"): concatenate object of class 'haploList'.

See Also

SampleHaplotypes, haplotype

Examples

showClass("haploList")

HaploSim documentation built on Aug. 14, 2022, 1:06 a.m.