Learn R Programming

HaploSim (version 1.8.4.2)

haplotype-class: Class "haplotype" ~~~

Description

Definition of 'haplotype' class.

Arguments

Objects from the Class

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

Slots

snp:

Object of class "integer" containing the positions on the genome where the haplotype has a 1 allele. The number of snp positions is the genome size in Morgan times the number of decimal positions, both stored in 'haploList' objects.

qtl:

Object of class "list". Names of the list are the QTL positions, on the same scale as snp positions. Objects in the list are the QTL alleles.

hID:

Object of class "numeric" identifying the current object of class 'haplotype'.

phID0:

Object of class "numeric" pointing to the first parental haplotype.

phID1:

Object of class "numeric" pointing to the second parental haplotype.

Methods

No methods defined with class "haplotype" in the signature.

See Also

SampleHaplotype, SampleHaplotypes, haploList

Examples

Run this code
showClass("haplotype") 

Run the code above in your browser using DataLab