Re: [R] Cox Proportional Models and Haplotypes

2010-10-29 Thread Brad McNeney
You could do a weighted cox ph model, with possible haplotype configurations for each subject weighted by their posterior probabilities given genotype data. Are your markers SNPs? If so you can use a utility function from the hapassoc package to get started. For example, if your data is in a

[R] Cox Proportional Models and Haplotypes

2010-10-26 Thread sr500
Hello, I was wondering if anyone knew of a function that fits haplotype data into a cox proportional hazard model. I have computed my Haplotype frequencies using the haplo.stats package. I have also been using the haplo.glm function but this is a linear regression and is not quite what I am

Re: [R] Cox Proportional Models and Haplotypes

2010-10-26 Thread David Winsemius
On Oct 26, 2010, at 8:57 AM, sr500 wrote: Hello, I was wondering if anyone knew of a function that fits haplotype data into a cox proportional hazard model. I have computed my Haplotype frequencies using the haplo.stats package. I have also been using the haplo.glm function but this is