getPed {Relate}R Documentation

A function to extract values from a snpMatrix object,snp.support and subject.support

Description

This functions main purpose is only for debugging purposes. It solely returns the genotypes,positions and chromosomes of a snpMatrix pedfile object. Which in turn consist of a list with 3 elements.

Usage

#library(snpMatrix)
#ped <- read.snps.pedfile("data.ped")
vars <- getPed(pedfile)

Arguments

pedfile Return value of read.snps.pedfile of snpMatrix

Value

chromosome This is an Integer containing the 'chromosome'
position Vector of real values, containing the relative position to the chromosome
data snp data genotypes

Author(s)

albrecht@binf.ku.dk, thorfinn@binf.ku.dk

References

http://staff.pubhealth.ku.dk/~ande/web/software/relate.html

See Also

getPlink.

Examples

#library("snpMatrix")
##
##  SNP MATRIX MUST BE INSTALLED
#  path<-paste(.find.package("Relate"),"/data/500.ped",sep="")
#   ped<-read.snps.pedfile(path)
#  datas<-getPed(ped)

[Package Relate version 0.987 Index]