Displaying 1 result from an estimated 1 matches for "phid0".
Did you mean:
uhid0
2008 Sep 19
2
Extract method for a new class
...ing to write a package for simulating meioses in R. We defined a class 'haplotype' which contains the basic units of our simulation:
setClass("haplotype",representation(snp = "numeric",qtl = "list",
hID = "numeric",phID0 = "numeric",phID1 = "numeric"),
prototype = list(hID = 0,phID0 = NaN,phID1 = NaN))
In addition, we define a class 'haploList', which is just a list of haplotypes:
setClass("haploList",contains = "list",representat...