search for: haplolist

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

2008 Sep 19
2
Extract method for a new class
...ation(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",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 ne...