survPheno.dat {SimHap}R Documentation

Example phenotypic survival data

Description

Data on the recurrence times to infection, at the point of insertion of the catheter, for kidney patients using portable dialysis equipment. Catheters may be removed for reasons other than infection, in which case the observation is censored. Each patient has exactly 2 observations. pheno.dat is an example phenotypic data set containing biological measures to be used by snp.surv, haplo.surv.

Usage

data(survPheno.dat)

Format

A data frame with 76 observations on the following 6 variables.

id
patient identifier.
time
time.
status
event status.
age
in years.
sex
1=male, 2=female.
disease
disease type (0=GN, 1=AN, 2=PKD, 3=Other).

Details

This data is the same as the kidney data from the survival package, with the frail parameter eliminated.

Source

McGilchrist and Aisbett, Biometrics 47, 461-66, 1991

Examples


data(SNPsurv.dat)

# transforms SNPlong.dat to an object containing 3 columns
# per SNP - additive, dominant and recessive, where genotypes
# defined in 'baseline' serve as the baseline genotypes
survGeno.dat <- SNP2Geno(SNPsurv.dat, baseline=c("V2V2", "GG", "CC"))

data(survPheno.dat)

mymodel <- snp.surv(formula1=Surv(time, status)~age+SNP_1_add, 
        formula2=Surv(time, status)~age, pheno=survPheno.dat, 
        geno=survGeno.dat)
summary(mymodel)


[Package SimHap version 1.0.0 Index]