Learn R Programming

HaploSim (version 1.8.4.2)

haploList-class: 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.

Arguments

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

Run this code
showClass("haploList")

Run the code above in your browser using DataLab