Re: [R] Script for searching in a kinship matrix

2012-11-10 Thread ginger
Hi everybody! I suceeded in extracting the sub-matrix containing just the relevant subjects of this example data (indeed I could retrieve 190 of the 220 subjects of the data example, so that the relative kinship matrix is a 190X190). For the subjects non present in the kinship matrix case-control k

[R] Script for searching in a kinship matrix

2012-11-09 Thread ginger
Hi everybody! In a case-control study I have already sampled cases stratifying for sex (0,1) and age (<62y, >=62y). I need to sample a group of controls with the same characteristics (which I can easily do) plus one more: the level of relatedness. Therefore controls should be matched to cases for s