geneSet2Ped {fbat}R Documentation

Translate a geneSet object to a ped matrix

Description

Translate a geneSet object to a ped matrix.

Usage

  geneSet2Ped(geneSetObject)

Arguments

geneSetObject an object of geneSet class

Value

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")

Examples

  data(CAMP)
  res<-geneSet2Ped(CAMP)
  ped<-res$ped
  columns<-res$columns

[Package fbat version 1.0.0 Index]