search for: gendist

Displaying 1 result from an estimated 1 matches for "gendist".

Did you mean: gendisk
2008 Sep 19
2
Extract method for a new class
...quot;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",representation(genDist = "numeric",roundDec = "integer")) Most things work fine, but when subsetting a haploList object an object of class list is returned. I realize that I need to write a function for subsetting this new object, and tried to find the code for '[.listof' or something similar...