geneSet2Ped {fbat} | R Documentation |
Translate a geneSet object to a ped matrix.
geneSet2Ped(geneSetObject)
geneSetObject |
an object of geneSet class |
ped |
pedigree data frame whose first 6 columns are family (pedigree id), pid (patient id), father (father id), mother (mother id), sex, affected (affection status). The remaining columns are pairs of marker alleles. Each row corresponds to an individual. |
columns |
names of the first 5 (or 6) columns of ped file. It should be either equal to c("family","pid","father","mother"," sex","affected") or equal to c("family","pid","father","mother","sex") |
data(CAMP) res<-geneSet2Ped(CAMP) ped<-res$ped columns<-res$columns